Page Keys is a template Firefox WebExtension for adding keyboard shortcuts to a webpage with Mousetrap.
To adapt it for a specific site:
- Edit
content.jsto include the desired keyboard shortcuts. - Edit
manifest.jsonto change thename,description, andidfields. - Edit
options/options.jsto set the default page url regular expression. - Update the Makefile if you want to change the xpi name
- Possibly change the icon in
icons(and updatemanifest.json).
Keyboard shortcuts are created using the Mousetrap library. The keyboard icon was taken from the Google Design Material Icons set.