haskell-spotlight/browser-extension
2022-06-09 18:53:56 +02:00
..
assets Bump browser-extension version for mozilla-addons reupload 2022-06-09 18:53:56 +02:00
content Rebranding. HackageUI -> Haskell Spotlight 2022-01-28 08:26:38 +01:00
popup Browser ext => 0.0.8. Add Reset settings button. 2022-02-08 20:08:41 +01:00
scripts Add manifest v3 for Chrome extensions store 2022-01-23 09:21:17 +01:00
.gitignore Update .gitignore 2022-01-12 19:47:01 +01:00
.swcrc Implement browser extension 2022-01-12 18:57:14 +01:00
Makefile Rebranding. HackageUI -> Haskell Spotlight 2022-01-28 08:26:38 +01:00
package-lock.json Rebranding. HackageUI -> Haskell Spotlight 2022-01-28 08:26:38 +01:00
package.json Rebranding. HackageUI -> Haskell Spotlight 2022-01-28 08:26:38 +01:00
README.md Implement browser extension 2022-01-12 18:57:14 +01:00
styles.ts Rebranding. HackageUI -> Haskell Spotlight 2022-01-28 08:26:38 +01:00
types.d.ts Implement browser extension 2022-01-12 18:57:14 +01:00
webpack.config.ts Add manifest v3 for Chrome extensions store 2022-01-23 09:21:17 +01: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