I am loading an external page in an iFrame that redirects after a counter. I want to disable the redirect.I used firebug to locate the redirect.
if(!counter)
self.iframe.src=self.vars["someurl"];
So how do I stop this redirect from happening?
Thank you, Todd
You can’t control JavaScript that comes from a different domain (which is what I am assuming you are doing, when saying “external page”).
If you think a bit about browser security, you will understand why.
See Same Origin on wikipedia for details.