How can I prevent IE from refreshing when Ctrl-R is handled in the page by script? This also goes for things like opening the browser history, etc. The solution does not need to work in Non-IE browsers, but it must work in both IE 6 and IE 7.
Is this even possible?
Try this:
“82” is the keyCode for “R”, “72” is the keyCode for “H”. Add a similar switch case for every key you want to capture.
Tested on IE6 and IE7.