https://github.com/sbwhitt/custom-actions
Chrome extension that helps you control your browser with additional keyboard shortcuts
https://github.com/sbwhitt/custom-actions
angular browser browser-extension chrome chrome-extension manifest-v3 productivity typescript
Last synced: 8 months ago
JSON representation
Chrome extension that helps you control your browser with additional keyboard shortcuts
- Host: GitHub
- URL: https://github.com/sbwhitt/custom-actions
- Owner: sbwhitt
- License: agpl-3.0
- Created: 2024-03-13T22:43:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-14T02:59:39.000Z (over 1 year ago)
- Last Synced: 2025-01-06T05:16:09.089Z (9 months ago)
- Topics: angular, browser, browser-extension, chrome, chrome-extension, manifest-v3, productivity, typescript
- Language: TypeScript
- Homepage:
- Size: 443 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Custom Actions extension
Custom keyboard actions for chrome. Now available on the Chrome Web Store!
## Default actions
* Ctrl+Up: Duplicate the current tab
* Ctrl+Left: Move the current tab left
* Ctrl+Right: Move the current tab right
* Ctrl+Down: Move the current tab to it's own window
* Alt+Shift+Left: Open the last visited location in a new tab
* Alt+Down: Collapse all tabs into the same window## Screenshots
Main landing screen and Actions list

Shortcut settings

## How it works
The keyup and keydown event listeners are loaded in a content script (src/script.ts) which is declared in the manifest under 'content_scripts'. The content script is injected into tabs within the browser when they are created.
When key events are detected, the content script sends actions through messages to the service worker (src/sw.ts) which is registered in the manifest under 'background > service_worker.'