posted on March 19, 2001 07:34:59 PM
I just came across this code on a website. Have never seen it before. Is this what I think it is - a javascript code to disable the function of AdSubtract?
Any insight would be greatly appreciated.
<script language="JavaScript">
<!-- // Start of AdSubtract JavaScript block; you can ignore this.
// It is used when AdSubtract blocks cookies or pop-up windows.
document.iMokie = "cookie blocked by AdSubtract";
document.iMferrer = "referrer blocked by AdSubtract";
function iMwin() {
this.location = "";
this.frames = new Array(9);
this.frames[0] = this;
this.frames[1] = this;
this.frames[2] = this;
this.frames[3] = this;
this.frames[4] = this;
this.frames[5] = this;
this.frames[6] = this;
this.frames[7] = this;
this.frames[8] = this;
this.length = 0;
}
// End of AdSubtract JavaScript block. -->
posted on March 19, 2001 07:37:23 PM
Are you running AdSubtract? And did you "view source" for that page while AS was running?
I've seen that code myself when I view source with Adsubtract running. I believe it's the code *YOUR* AdSubtract uses to stop the ads from loading on *YOUR* computer, not anything a web site designer inserted.
posted on March 19, 2001 07:46:31 PM
Yes that is exsactly what that is it is ad subtract code used to block the Java banner on the site you were viewing.
when you sourced the page instead of seeing the banners rotation script in the source you seen the ad subtract block code.
posted on March 19, 2001 07:50:38 PM
dman3: Yes I am running AdSubtract.
joanne: Yes on both accounts. I was checking the source code on a page I really liked to see what program was used to generate it and saw the code at the top. It was a pretty savvy page and I wondered if perhaps the author was trying to block AdSubtract.
I'm now curious as to why I don't see this code when I view the AW Source page?
Thanks for your replies. I'm relieved that someone isn't trying to stop AdSubtract from working. It's a great little program.
posted on March 19, 2001 07:53:40 PM
There has to be an ad on the page before AdSubtract has to kick in. For example, there are no ads on this page so you won't see the code; however, go to the "Message Center" page (click the link at the top of this page) and let the page load, then view source - you'll see the AdSubtract code then.