angular-web-extension
Description:
This project is an angular template for creating cross browser extension (Firefox/Chrome).
Generated with Angular CLI version 9.1.5.
More documentation on web extensions:
Getting Started:
Configure extensions:
Clone repo and install dependencies:
git clone --depth 1 https://github.com/radiium/angular-web-extension
cd angular-web-extension
npm install
Find and replace angular-web-extension
string by your app name.
May be adjust rules in src/manifest.json like permissions, content_security_policy, etc....
Run extension:
All commands create artifact in /dist folder.
For Firefox web extension
- dev:
npm run watch:web-ext
- prod:
npm run build:web-ext
Go to pageabout:debugging#/runtime/this-firefox
for install extension manually.
For chrome extension
- dev:
npm run watch:chrome
- prod:
npm run build:chrome
Go to pagechrome://extensions/
for install extension manually.