haskell-spotlight/browser-extension/README.md
2022-01-12 18:57:14 +01:00

823 B

Browser Extension

https://stackoverflow.com/questions/59608956/can-cypress-io-test-a-chrome-extension

Development

cd extension && npm i && npm start

Chrome: chrome://extensions -> Check Developer mode -> Load unpacked

Firefox: about:debugging -> This Firefox -> Load Temporary Addon

Safari Build: https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_web_extension_for_safari

Run: https://developer.apple.com/documentation/safariservices/safari_web_extensions/running_your_safari_web_extension

Then use the reload button at your extensions list page to see changes.

Sometimes it stucks, so just remove and upload the extension again.

Localizaiton: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization