Aug 17, 2001 #1 f1car Technical User Apr 2, 2001 69 US How do you control someone from closing your program? Thank you.
Aug 18, 2001 #2 link9 Programmer Nov 28, 2000 3,387 US If you're asking how to keep someone from closing the browser window -- you can't. It's a security feature of the browser that the programmer has no control over a user's perogative to close any browser window they wish at any time. Upvote 0 Downvote
If you're asking how to keep someone from closing the browser window -- you can't. It's a security feature of the browser that the programmer has no control over a user's perogative to close any browser window they wish at any time.
Aug 20, 2001 #3 Crundy Programmer Jul 20, 2001 305 GB You could capture the window's onunload or onberforeunload event to run some code Upvote 0 Downvote