Useful fixes and workarounds for browser extension shortcomings
npm install webext-bugs
This package exports various utilities, just import what you need.
- options-menu-item - Firefox/Safari: Adds an "Options…" menu item.
- target-blank - Safari: Fixes
target="_blank"
links in extension pages. - no-all-urls - Firefox/Safari: Prevents the user from enabling the extension on all websites.
- webext-tools - Utility functions for Web Extensions.
- webext-detect - Detects where the current browser extension code is being run.
- webext-options-sync - Helps you manage and autosave your extension's options.
- More…
MIT © Federico Brigante