Forum Moderators: open
<script language="JavaScript" type="text/javascript"><!--
setTimeout ("changePage()", 3000);
function changePage() {
if (self.parent.frames.length!= 0)
self.parent.location=document.location;
}// --></script>
- the script is checking to see if the page contains a frame, and if so, to continue. Adsense displays in a frame, so self.parent.frames.length is always greater than 0.
Try setting it self.parent.frames.length to 1 (self.parent.frames.length!= 1, the!= means NOT EQUAL TO).
Not sure if it would work for you, but I use a very simplified frame breaker in my <body> and have not had any problems with Adsense:
<body onload="if (self!= top) top.location = self.location">
ADDED: Actually no, don't try the 'framed pages' option, I was muddled. If the page the Adsense is on is not supposed to be framed, it shouldn't need it. Just try the simplified frame breaker and see if that works.