haskell-spotlight/browser-extension
2022-01-13 12:08:50 +01:00
..
assets Fix browser extension for Firefox 2022-01-13 00:53:03 +01:00
content Improve input search help. Change code color scheme. 2022-01-13 12:08:50 +01:00
popup Fix browser extension for Firefox 2022-01-13 00:53:03 +01:00
scripts Implement browser extension 2022-01-12 18:57:14 +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 Improve input search help. Change code color scheme. 2022-01-13 12:08:50 +01:00
package-lock.json Improve input search help. Change code color scheme. 2022-01-13 12:08:50 +01:00
package.json Improve input search help. Change code color scheme. 2022-01-13 12:08:50 +01:00
README.md Implement browser extension 2022-01-12 18:57:14 +01:00
types.d.ts Implement browser extension 2022-01-12 18:57:14 +01:00
webpack.config.ts Implement browser extension 2022-01-12 18:57:14 +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