Hi I have a requirement where i need the Browser back button to be inactive when the user clicks(i.e) it should not respond..and the user should stay at the same window..since i have a back button in my screen.... Thanks in advance for replies Regds Rakesh
You cannot and should not attempt to take over the user's computer. This includes the browser controls. You are given the browser window to work in so just keep your mitts off everything else.
If you don't want the browser controls confusing your user since you will have navigation in your own window, do what many other sites do and open a new window without the toolbars upon application launch.
Originally posted by Bear Bibeault: If you don't want the browser controls confusing your user since you will have navigation in your own window, do what many other sites do and open a new window without the toolbars upon application launch.
This is another recording:
I can still right-click (windows and linux) and click Back from the context menu, so just stick with the first part of Bear's recording.
I think there is merit to opening apps in a new window. Users, especially non-savvy ones, can get confused when the browser sports one set of controls, and the web app another. Opening the app in a non-toolbared window can alleviate some of that confusion.
But with regards to trying to prevent users from boofing up your application with back and refresh... yeah, you just have to buckle down and deal with it. Learn the coding techniques to deal with the issues introduced by back and refresh rather than trying to exert control over parts of the browser that you have no business futzing around with.