Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes, accidentally hitting my back button can be a huge pain. For instance, on, if I hit that button I will have to re-logon to IRC. Probably the easiest choice would be a Firefox extension so I can just click a button to clear the history for the current tab, but I haven't seen anything like this.

share|improve this question
You could just open everything you don't want to go back from in a new tab so you won't have a history to begin with :-) – Joey Aug 5 '09 at 13:45
Maybe some greasemonkey script can do that. – MicTech Aug 5 '09 at 13:47
Johannes, I would do the new tab way, but at least in Mibbit's case the action to get to my final page is JavaScript - no new-tabbing. MicTech, I might have to take this as an opportunity to learn greasemonkey scripting if I don't find anything premade. – Sam Jones Aug 5 '09 at 13:50
up vote 3 down vote accepted

Im not sure if AutoHotKey has support for the back button on your mouse, but it can gobble up a mouse button press based on the text in the title bar of the active window.

share|improve this answer
This looks like it has promise. I'll try to give it a shot today. – Sam Jones Aug 6 '09 at 14:06
Worked perfectly! My mouse's back/forward buttons are now remapped to do nothing when I'm in one of these problem tabs. Thank you! – Sam Jones Aug 7 '09 at 13:17

Try using the Firefox plug-in "Tab Mix Plus". It has the ability to configure how the tabs behave. This program also has the ability to open closed tabs which might also get you back into the website you inadvertently backed out of. It allows you to set the default tab behavior as well. This plug-in should do what you are looking to do.

Tab Mix Plus

share|improve this answer
I started looking into this, and the "lock tab" functionality looks like it would do what I need, but in practice it isn't changing the back/forward behavior at all. I'm still rooting through their forum to make sure I understand it correctly, but right now it's not solving the issue. – Sam Jones Aug 5 '09 at 14:27

Autohotkey is a Windows solution. I came to this webpage searching for a Unix solution to the same problem. Eventually I found this solution: installing xinput and putting

xinput set-button-map "Trackpad" 1 2 3 4 5 6 7 0 0

into my ~/.xsession. This was the link that helped me.

share|improve this answer

Perhaps you can script something to do this:

How to Disable the Browser Back Button

Its quite simple to disable the back button functionality of a browser (this was tested on IE and Firefox). This causes every back to return with a forward. Works a treat ;o)

if (window.history) {
> window.history.forward(1); }


function noBack(){window.history.forward()}
share|improve this answer
This is for third party websites, not the OP's own website. – Sam Hasler Aug 6 '09 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.