Forum Moderators: martinibuster
if (top.location != self.location) top.location.replace(self.location);
My concern now is, will this artificially double AdSense impressions from people coming from those sites or break code in any other way? Anyone has any experience with this?
[edited by: tebrino at 3:45 am (utc) on Oct. 19, 2009]
window.stop(); after redirect code and it seems to work fine now. Final code looks like this:
if (top.location != self.location) {
top.location.replace(self.location);
if(navigator.appName == "Microsoft Internet Explorer"){
window.document.execCommand('Stop');
}
else{
window.stop();
}
}
That seems to stop browser from loading anything after that point