PDA

View Full Version : No ALT+F4



immortal_king
10-17-2006, 06:29 AM
Is there any script that can prevent closing the page by ALT+F4 ?

tech_support
10-17-2006, 06:34 AM
NO.

There is now way to disable pressing such things, eg. Save As; Alt+F4; Closing the Window etc.

The user should and will control all your page. They can close it if they want to, whenever they want to and any key combination they want to.

Why would you like to disable Alt+F4 anyway? I mean, that would be extremely annoying for me, and any other user. What if the user doesn't have a mouse? There goes convenience for the user.

djr33
10-17-2006, 07:05 AM
I hate applications that disable this sort of thing. I would HATE websites that do.

You actually want to stop the user from closing your page? There's always a way around it, too.... why!?

///confused.

And, tech is right.... No way.

tech_support
10-17-2006, 07:09 AM
Oh yeah...

Every time the user closes the page, it opens up a new one.

**Shurgs**

Devilish. Might take away all your viewers too.

djr33
10-17-2006, 07:14 AM
Ha. Like those popup strings some sites have... close one, and it initiates another. EW!
That's your answer, though, I guess... just have it regenerate when closed.
Your viewers will hate you, though.

Or, you could have it regenerate all the time, until the user's ram is filled. It's like hacking and makes the computer crash, all without any complex scripting. :p

tech_support
10-17-2006, 07:15 AM
And will have to disable JavaScript.

codeexploiter
10-17-2006, 08:56 AM
I think it is better to check this resource (http://www.irt.org/script/1578.htm) before ending this discussion.

tech_support
10-17-2006, 08:58 AM
But still, people will get very annoyed.

codeexploiter
10-17-2006, 09:05 AM
May be or may be not. It mostly depends upon the nature of the site. If they are dealing with a non-sense site as you said the visitors definitely get irritated. But if they are dealing with a shopping cart or online banking then it would be justified.



posted: tech_support

NO.

There is now way to disable pressing such things, eg. Save As; Alt+F4; Closing the Window etc.


I just wanted to correct this one nothing else.

tech_support
10-17-2006, 09:34 AM
No problem.

djr33
10-17-2006, 10:19 AM
Script doesn't work in FF. Case closed. FF is based on Netscape. Even that says right there that netscape didn't work with it... there's no way.
Yes, you can play with settings in IE... but that's just annoying.

tech_support
10-17-2006, 10:20 AM
Case closed? Hope that's not your lawyer replying. :p

lainlives
10-27-2006, 04:29 PM
ALT+F4 is almost as important as CTRL+SHIFT+ESC on my machine