Forum Moderators: open
And the same for refresh...
Is this possible? -- purely with javascript.
I can't find anything that says it is...
Thanks for any help :)
PS. This isn't a request for an discussion on hijacking browsers... it's a bad idea. This is a web application situation where back and refresh break the app. I also have don't have full control over the app so redesigning it isn't an option either. Finally I can't hide the toolbar :) - I love this contract ....
[edit]Clarified with purely javascript[/edit]
If it's a problem where people lose information by going back, they will learn soon enough not to go back. The user must take some responsibility.
You can code your own back and refresh buttons, which would display a warning, but you can't override the built in browser buttons.