Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.onbeforeunload = function(){return false;};
- setTimeout(function(){window.close();}, 10000); // close after 10 seconds
- window.setTimeout(function() {
- window.opener='x';
- window.close();
- }, 10000);
Add Comment
Please, Sign In to add comment