https://github.com/rangermauve/web-palette
A Web Extension that provides a command palette for easily navigating a page with your keyboard.
https://github.com/rangermauve/web-palette
Last synced: 13 days ago
JSON representation
A Web Extension that provides a command palette for easily navigating a page with your keyboard.
- Host: GitHub
- URL: https://github.com/rangermauve/web-palette
- Owner: RangerMauve
- Created: 2020-04-01T19:42:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T22:56:24.000Z (about 5 years ago)
- Last Synced: 2025-03-31T17:24:39.020Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/web-palette/
- Size: 79.1 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web-palette
A Web Extension that provides a command palette for easily navigating a page with your keyboard.
## How it works
- Injects a contect script on all your pages which watches for `ctrl+e`
- Gets all buttons, anchors, and inputs on the page
- Uses best effort to generate labels for them
- Renders a list of buttons with a fuzzy matching filter
- Hitting enter in the filter or clicking a button focuses that element
- From there you can hit `enter` to invoke the element or start typing into the input
- You can close the pallet with `ctrl+e` or `escape` or have it auto-close on focusing## Future
- User defined commands that can be added
- More inegration with browser (closing the page and stuff)## Credits
Largely inspired by the [Commander](https://github.com/robingzk/mchacks2018) extension. 😁