Cleanup not used wrapper opener check

This commit is contained in:
shortcutme 2017-07-09 14:12:13 +02:00
parent 5950b04c40
commit 426fe561c9
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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 && 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>
<div class="progressbar">