- Activate by code
- Lists current duo notifications
- Checkout the copied repository to your local machine eg. with
git clone https://github.com/falsidge/duo-ext
- run
npm install
to install all required dependencies - run
npm run build
The build step will create the extension
folder, this folder will contain the generated extension.
-
npm install
to install dependencies. -
To watch file changes in developement
- Chrome
npm run dev:chrome
- Firefox
npm run dev:firefox
- Opera
npm run dev:opera
- Chrome
-
Load extension in browser
-
- Go to the browser address bar and type
chrome://extensions
- Check the
Developer Mode
button to enable it. - Click on the
Load Unpacked Extension…
button. - Select your extension’s extracted directory.
- Go to the browser address bar and type
-
- Load the Add-on via
about:debugging
as temporary Add-on. - Choose the
manifest.json
file in the extracted directory
- Load the Add-on via
-
- Load the extension via
opera:extensions
- Check the
Developer Mode
and load as unpacked from extension’s extracted directory.
- Load the extension via
-
To lint code
npm run lint
npm run lint-fix