PDA

View Full Version : Controlling Browser Refresh thru right click and keyboard


Vizier
05-20-2003, 06:12 AM
:confused:

Hi,

1) I am developing a secure application that must not allow the user to refresh the page whenever he/she is using it. Is there any way that this can be achieved in IE 5+ and in Netscape 4.7 as well as Netscape 6+?

2) Alternately, if I open a window minus the menubar, and disable right click and keyboard actions associated with refresh, then I can accomplish the same. Can anyone tell me how to gain control over the keyboard in IE 5+, Netscape 4.7 and Netscape 6+?

I am in a bit of a hurry. pls help....
Vizier

brothercake
05-20-2003, 11:23 AM
No, in all cases - you cannot disable refreshing. You can trap keypress events and make them do other things, but preventing refresh is not one of those things.