Javascript prob with google ads

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
If Ihave   if (parent.frames.length)
  top.location.href= document.location;
in a .js file attached to a page it messes up the google ads and keeps
trying to reload it. Its crashing my ie and is pretty odd in opera

Should I change the google ad code or stop trying to break out of
pesky frames?

Save money

Re: Javascript prob with google ads

try if top.location.href != this.href

i think google adds in an IFRAMe which is being detected.

Quoted text here. Click to load it

Site Timeline