Skip to content

Template WebExtension for adding keyboard shortcuts to a webpage

License

Notifications You must be signed in to change notification settings

wshanks/page_keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page Keys

Page Keys is a template Firefox WebExtension for adding keyboard shortcuts to a webpage with Mousetrap.

To adapt it for a specific site:

  1. Edit content.js to include the desired keyboard shortcuts.
  2. Edit manifest.json to change the name, description, and id fields.
  3. Edit options/options.js to set the default page url regular expression.
  4. Update the Makefile if you want to change the xpi name
  5. Possibly change the icon in icons (and update manifest.json).

Acknowledgements

Keyboard shortcuts are created using the Mousetrap library. The keyboard icon was taken from the Google Design Material Icons set.

About

Template WebExtension for adding keyboard shortcuts to a webpage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published