Created
August 14, 2012 00:40
-
-
Save lamielle/3345183 to your computer and use it in GitHub Desktop.
Simple HTML page that closes itself when opened. Doesn't work in newer versions of Firefox.
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
<!doctype html><html><head><script> | |
window.onload = function load() { | |
window.open('', '_self', ''); | |
window.close(); | |
}; | |
</script></head><body></body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment