0

Hai Friends

I have used lot of codinds to disable the browser (using server side code) back button in mozila firefox 3.2 it is not working.But it is working fine in the Internet Explorer.Pls same the correct solution to solve this problem in mozila firefox3.2 version.say me in detail.

Kajah User
  • 593
  • 5
  • 17
  • 56

1 Answers1

4

What's the point of disabling such button? The user can achieve exactly the same functionality with keyboard, context menus, bookmarks, mouse gestures... If your program breaks when the user makes use of his browser's history, you should fix whatever breaks in your code rather than annoying the user by crippling his browser.

Update

Alright, you've made it clear that you want an answer to your question, not a solution to your problem. Sorry for wasting your time.

The answer is that you cannot disable the browser's back button from the server. The proof is that, if such thing was possible, webmasters from porn, scam and spam sites would do it all the times it so you would not be able to leave their sites. Your only chance is to convince your Firefox users one by one to go to the View-> Toolbars-> Customize menu and drag the navigation buttons out of the bar. Alternatively, you can try to make them download and install some sort of malware that does this for them.

Álvaro González
  • 142,137
  • 41
  • 261
  • 360