Consent Manager's Web Extension: Removes most cookie banners and declines consent by omission
The supported Node version for this project is specified at .nvmrc
. To build this application, please follow the next steps:
npm install # to install dependencies
npm run build <chrome|firefox|opera|edge> # to build for the target vendor
The resulted artefact will be located at ./packages/consent-manager-web-ext.<version>.<vendor>.*.zip
.
NOTE: Since Safari extensions follows a completely different approach we are not supporting this browser at the moment.
All the code is built on top of webextension-toolbox
.
Dependencies are handled by npm
so to install the project just type npm install
on the project's root directory.
To run the project (in development) type:
npm run dev <chrome|firefox|opera|edge>
This will start a web server to provide hot-reloading functionality.
webextension-toolbox
automatically sets the NODE_ENV
environment variable. The value for this variable will be development
on development but it will be set to production
on building time. See webextension-toolbox
documentation for more information about other environment variables or configuration details.
The project has also support for dotenv
, so it is possible to add custom environment variables through existing .env
configuration file.
npm run test
Copyright (c) 2021 PrivacyCloud