Prevent Spacebar Doing Page Down

When the Spacebar key is received outside a text entry area, discard it

Author
Jefferson Scher
Daily installs
0
Total installs
821
Ratings
3 0 0
Version
1.0
Created
2018-02-17
Updated
2018-02-17
License
BSD 3-clause
Applies to
All sites

In Firefox, the space bar can be used for page down, and Shift+Spacebar for page up. This script intercepts the space bar and prevents this behavior. Inspired by https://support.mozilla.org/questions/1205298