View Full Version : Force website into iFrame
Avatar Viper
Apr 20th 2009, 7:57 pm
If a website that i want to display in my iFrame has the below code
<script LANGUAGE="JavaScript">
<!--
if (window != top) top.location.href = location.href;
// -->
</script>
it will break out of my iFrame. So how to let such a website stay in my iFrame?
JavaScriptBank.com
Apr 22nd 2009, 11:32 pm
disable that code :D
let use one of frame JavaScripts (http://www.javascriptbank.com/javascript/browser/frame/) from my site if you want
Avatar Viper
Apr 22nd 2009, 11:36 pm
disable that code :D
let use one of frame JavaScripts (http://www.javascriptbank.com/javascript/browser/frame/) from my site if you want
how to disable the code? i do not have control over their website...
JavaScriptBank.com
Apr 23rd 2009, 1:29 am
'Disable that code' is just for fun :D, please use my scripts, thank
Avatar Viper
Apr 23rd 2009, 4:13 am
'Disable that code' is just for fun :D, please use my scripts, thank
your script does not work :(
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.