The Shortcut Click extension for Google Chrome allows users to perform click actions on specific areas of a webpage using custom keyboard shortcuts. This extension aims to enhance productivity by enabling users to automate repetitive clicking tasks.
- Assign Shortcuts to Page Areas: Define keyboard shortcuts that trigger click events on specific areas of a webpage.
- Context Menu Integration: Easily assign areas to shortcuts via the right-click context menu.
- Active Tab and Scripting Permissions: The extension can interact with the active tab and execute scripts as needed.
- Clone the repository:
git clone https://github.com/ronparkdev/shortcut-click-extension.git
- Navigate to the extension directory:
cd shortcut-click-extension
- Load the extension into Chrome:
- Open Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" by clicking the toggle switch in the top right corner.
- Click "Load unpacked" and select the extension directory.
- Open Chrome and navigate to
-
Assign Shortcuts:
- Right-click on the area of a webpage you want to assign a shortcut to.
- Choose "Assign Shortcut" from the context menu.
- In the popup, define the keyboard shortcut you want to use.
-
Use Shortcuts:
- Press the defined keyboard shortcut to simulate a click on the assigned area of the webpage.
The extension requires the following permissions:
storage
: To store user-defined shortcuts.activeTab
: To interact with the currently active tab.contextMenus
: To add items to the right-click context menu.
For developers interested in contributing or customizing the extension:
- Install dependencies:
pnpm install
- Build the extension:
pnpm build
- The build process compiles the TypeScript files and bundles them into the
dist
directory.
This project is licensed under the BSD-3-Clause License.
For questions or support, please open an issue on the GitHub repository.