Created
April 24, 2013 10:52
-
-
Save bobdenotter/5451303 to your computer and use it in GitHub Desktop.
Bob's definitive Iframe buster buster BUSTER script. Note that the alert _is_ required. Depending on the sophistication of the iframe-buster-buster script, you might want to tweak the time-out (1000, in this case).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
if (top != self) { | |
setInterval("alert('Redirecting to example.org, please wait.');top.location.replace('http://example.org/')", 1000); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment