haskell-spotlight/browser-extension/README.md

22 lines
823 B
Markdown
Raw Permalink Normal View History

2022-01-10 15:45:10 +03:00
# 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>