Scaffold for a Manifest V3 Chrome extension built with TypeScript and bundled through tsup.
-
Install dependencies:
npm install
-
Run the type-safe development build with file watching:
npm run dev
dist/is regenerated with every change.- Static assets inside
public/(likemanifest.json, popup HTML, and icons) are copied intodist/.
-
Create a production build:
npm run build
npm run build(if you have not already) so thatdist/contains the latest assets.- Open
chrome://extensions. - Toggle Developer mode (top-right).
- Choose Load unpacked, then select the
dist/directory from this project.
Whenever you rebuild, click the Reload button on the QuickPress card inside chrome://extensions to apply the updates.
- Press
Ctrl + Qon any page to open the QuickPress command palette.- Every visible button and link is outlined on the page and listed in an overlay.
- Use the search box to filter entries by text content as you type.
- Press the shown shortcut key or click an entry to invoke that element’s original action.
- Press
Escto dismiss the overlay without running anything.
- Open the popup’s “Overlay Shortcut” section to change the modifier keys and letter/digit used to toggle the palette. The new shortcut is saved immediately and works on all tabs.
- Firefox requires Manifest V3 add-ons to declare an ID and a minimum version that supports service workers. Update
browser_specific_settings.gecko.idinpublic/manifest.jsonto your own domain-style identifier (for examplequickpress@example.com) before uploading to AMO. - The included
strict_min_versionis set to121.0, the first Firefox release that supports background service workers. Keep that or raise it if you depend on newer APIs.