Unstoppable Domains

iframes and parent.document

Spaceship Spaceship
Watch

Crusader

Established Member
Impact
6
Code:
<script type="text/javascript"><!--
document = parent.document;
//--></script>

I have the above code contained in an iframe. It loads on both Firefox and Internet Explorer but it gives me an "Access Denied" error in the loading bar (bottom left hand of the screen) after the page loads on Internet Explorer.

Any ideas on how to fix this?

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
What is it being used for? Could you post the other code? :tu:

Dan
 
0
•••
It's basically just an iFrame that loads the above code followed by Adsense code.

HTML:
<iframe id="a780ee65" name="a780ee65" src="urlOfIframe.php" frameborder="0" scrolling="no" width="300" height="250"><a href="linkHere.php" target="_blank"><img src="imagehere.jpg" border="0" alt="" /></a></iframe>

urlOfIframe.php
HTML:
<script type="text/javascript"><!--
document = parent.document;
//--></script>
<!-- google adsense code etc -->
 
0
•••

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back