Created
July 2, 2017 06:21
-
-
Save yano3nora/4ca20a337dc07180f9af7a44a8bd301d to your computer and use it in GitHub Desktop.
[js: close window] Close window on few secound later. #js
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
setTimeout(function(){ | |
window.open('about:blank', '_self').close(); | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment