Cleanup not used wrapper opener check
This commit is contained in:
parent
5950b04c40
commit
426fe561c9
1 changed files with 0 additions and 7 deletions
|
@ -20,13 +20,6 @@ if (window.self !== window.top) window.open(window.location.toString(), "_top");
|
||||||
if (window.self !== window.top) window.stop();
|
if (window.self !== window.top) window.stop();
|
||||||
if (window.self !== window.top && document.execCommand) document.execCommand("Stop", false)
|
if (window.self !== window.top && document.execCommand) document.execCommand("Stop", false)
|
||||||
|
|
||||||
|
|
||||||
// Dont allow site to load in a popup
|
|
||||||
/*
|
|
||||||
if (window.opener) document.write("Opener not allowed")
|
|
||||||
if (window.opener && document.execCommand) document.execCommand("Stop", false)
|
|
||||||
if (window.opener && window.stop) window.stop()
|
|
||||||
*/
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="progressbar">
|
<div class="progressbar">
|
||||||
|
|
Loading…
Reference in a new issue