Xah Lee, 2011-05-30
about:config.The change is immediate. You don't need to restart Firefox. This works in Linux too.
In a similar way, you can get mouse wheel to scroll one-page at a time. You can also adjust the mouse wheel tilt to do page up/down instead of horizontal scroll.
This will make the scroll wheel to go by pages.
Here's tech detail, from the official doc at Source kb.mozillazine.org.
The mousewheel variables has these 2 forms:
The ‹modifier key› key is one of: “withaltkey”, “withcontrolkey”, “withmetakey”, “withnokey”, “withshiftkey”
Type is one of: “action”, “numlines”, “sysnumlines”.
The important part is the values for the action. The action code determines whether you are scrolling by pixels, lines, pages, etc. Here are the possible values and meaning:
0 - Scroll document by a number of lines (given by the numlines property)1 - Scroll document by one page2 - Move back/forward in history3 - Make text larger/smaller4 - Scroll document by a number of pixels (given by the numlines property) number of lines to scroll by if action is set to value 0, or pixels if action is set to value 4; otherwise, this value is ignored.
use system preferences to determine how many lines to scroll by