Ashleyuk1984
Active Member
Hope you can help me with this.
I have a 3rd party website that I want to show a snippet of on MY website using iframe. Simple right?
No.
It seems that this 3rd party website has a tiny piece of javascript:
When I load my page, it then starts to load the iframe, but because of the code that they have in their script, it totally hijacks my website, and redirects to their URL.
Is there a way to prevent this? and just keep the 3rd party website inside the iframe?
Thanks
I have a 3rd party website that I want to show a snippet of on MY website using iframe. Simple right?
No.
It seems that this 3rd party website has a tiny piece of javascript:
Code:
<script type="text/javascript"> <!-- if (top.location != self.location) { top.location = self.location.href } //--> </script>
When I load my page, it then starts to load the iframe, but because of the code that they have in their script, it totally hijacks my website, and redirects to their URL.
Is there a way to prevent this? and just keep the 3rd party website inside the iframe?
Thanks