Firefox and PgDn/PgUp Keys

For years (well, as long as Mozilla and/or Firefox has existed), I’ve been annoyed that whenever an input field has the focus, the Page Up/Page Down keys don’t work. This is mostly an issue with web sites that helpfully autofocus on a text field: You’re searching for something, get a new page, and hit PgDn to scroll, and nothing happens.

So to reduce the laptop lossage from annoyed people throwing their computers out of their windows in disgust, I’ve now (only three decades too late, with innumerable computer casualties; sorry) written a trivial Greasemonkey script and put it on Microsoft Github.

To use, install Greasemonkey, then click on the “Extensions” symbol in the upper right:

Choose the “Greasemonkey” entry, then “New user script”, and then paste in the .js file from the pgdn-fixer repo.

Easy peasy. *rolls eyes*

(It’s really weird that you need something like Greasemonkey to be allowed to run your own Javascript in your own browser, but that’s apparently the case…)

It seems to work for me on about a dozen sites I’ve tried, but I’m sure there’s other sites that need some tweaking. Pull requests welcome.

Leave a Reply