R
R. van Laake
Hi,
I am building a webbased application for the office, and have full control
over the webserver and the clientcomputers (with IE6).
I want to prevent that the employees use Alt-F4 to close IE6. I can do that
with the onbeforeUnload, but unfortunately I always get this messagebox:
Are you sure you want to navigate away from this page?
<my message>
Press OK to continue, or Cancel to stay on the current page.
Is there ANY way to get rid of this messagebox? I simply want "to stay on
the current page" without having to press Cancel. (The employees can leave
the application by pressing F12, that sets the variable
'booleanLeaveAllowed' to true, so they don't have to "press OK to continue"
to leave the application).
As I mentioned earlier, I have control over the client computers so if I can
do it by modifying the registry, no problem. The clients have OS Windows
Workstation 4.0.
Thanks,
Ray
P.S. Please Mr. Gates, get rid of the moron that keeps on putting
messageboxes in IE you can't disable!!!! The F3 key is also useless because
after setting NoFindFiles (employees are not allowed to browse) you keep on
getting a messagebox when pressing F3 without the means to disable it from
popping up!!!!
I am building a webbased application for the office, and have full control
over the webserver and the clientcomputers (with IE6).
I want to prevent that the employees use Alt-F4 to close IE6. I can do that
with the onbeforeUnload, but unfortunately I always get this messagebox:
Are you sure you want to navigate away from this page?
<my message>
Press OK to continue, or Cancel to stay on the current page.
Is there ANY way to get rid of this messagebox? I simply want "to stay on
the current page" without having to press Cancel. (The employees can leave
the application by pressing F12, that sets the variable
'booleanLeaveAllowed' to true, so they don't have to "press OK to continue"
to leave the application).
As I mentioned earlier, I have control over the client computers so if I can
do it by modifying the registry, no problem. The clients have OS Windows
Workstation 4.0.
Thanks,
Ray
P.S. Please Mr. Gates, get rid of the moron that keeps on putting
messageboxes in IE you can't disable!!!! The F3 key is also useless because
after setting NoFindFiles (employees are not allowed to browse) you keep on
getting a messagebox when pressing F3 without the means to disable it from
popping up!!!!