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.

This comment has been removed. Monday, 24 August 2020 permalink

This comment has been removed.