Prevent Tab Close

Post #94 written by Khodok in Bookmarklets

Content

Prevent tab close

JavaScript
1
javascript:window.onbeforeunload = function() { return "Do your want to close"; }; alert("Tab Secured");
Comments

Please Log in to leave a comment.