Firefox and Mighty MouseAugust 25th, 2005
A while back I mentioned Apple’s new mighty mouse. Well today I ran out and bought one. I like it in general, but Firefox has a funny behavior. Turns out Firefox is listening for both horizontal and vertical scrolls from the mouse. The vertical scrolls scroll the page as you’d expect. But the horizontal scrolls go back and forward in the browser. The mighty mouse is pretty touchy (which I generally like) but it means that while scrolling down a page it is really easy to go back and forward resulting in really surprising (and annoying) page changes.
Fortunately I found a solution.
I took some tinkering (and I couldn’t find any real solutions online), but this does the trick:
- In Firefox, type about:config in the URL. This gets you to Firefox’s configuration file where you can do a bunch of things (it’s worth having a look around)
- Find the line mousewheel.horizscroll.withnokey.action and double click on it. In the box that pops up enter the number 0 (the default is 2), and click Ok.
Done. You don’t even need to restart the browser. That did the trick for me. The horizontal scroll is still intact, but now it scrolls the page side to side, which is what I would have expected in the first place. Firefox still scrolls faster than other applications and I can’t find a way to slow it down (I’ve messed with a bunch of those config lines with no luck). But I’ve already managed to get used to that.
With this change, I’ve a fan of the mighty mouse.