Start New Discussion within our Web Development Community

i want to disable browsers refresh button & F5 as well as ctrl+R .

You can try to trap the keys with Javascript, but this kind of hack is highly discouraged. Anyway, clicking the browser's refresh button will still work and you can't disable that.

This article has been dead for over six months. Start a new discussion instead.