scottf Posted November 25, 2011 Share Posted November 25, 2011 I am loading a few sites in frames, and I notice some use things like <script type="text/javascript">if (top!=self) top.location.replace(location.href);</script> Is there any way to stop this code from executing? Link to comment Share on other sites More sharing options...
alexnofue Posted November 25, 2011 Share Posted November 25, 2011 Are these sites yours? if they are you could put that code inside a function. Link to comment Share on other sites More sharing options...
Ingolme Posted November 25, 2011 Share Posted November 25, 2011 Some people don't want their pages inside your frames. There's nothing you can do to stop them. You have no control of anything outside of your domain. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.