JavaScript Plugin for Chrome to disable Cookies where possible.
OTHER License
The extension blocks various Consent Management Platforms (CMP) asking the user for consent to drop cookies or for tracking purpose. The extension in the current version blocks already 10 CMPs such as Quantcast, OneTrust or UserCentrics.
How to Test 0) Remove Cookies/Application Data for eg: https://www.gitlab.com
This extension requires webpack
for bundling/minifing/obfuscating and debugging.
Dependency management is done using yarn
as it is a package manager for JavaScript/Node.
The extensions is written in TypeScript.
Unit tests base on Karma and Jasmine and can be u
We run builds on OSX 10.15.5 We currently use Yarn 1.22.4 (latest 1.x Build) We use npm version 6.14.4 (latest) We use node version 14.1.0 (latest) We use zip 3.0 to create the package for upload
To install yarn
use brew install yarn
on macOS terminal to install via homebrew. You can also download the package
manager manually from the website
To install node
use brew install node
on macOS terminal to install via homebrew. You can also download the package
manually from the website
To install npm
download the package manually from the website. To upgrade to the
latest version use npm install npm@latest -g
.
In order to install all required dependencies for the project run yarn install
. It will download all libraries stated
in package.json
and store them locally in ./node_modules
.
To install all dependencies for the build via yarn, pls delete all lock files rm *.lock
and run yarn install
to down
load the node modules.
To run Units test, there is a setup with Karma and Jasmine: yarn test
. Integration Tests base on Jasmine and are
run directly in the Browser. (requires Chrome)
To Clean and Build the code for production: yarn build
./dist/
Folder is removed../dist/
folder../minimal-consent-prod.zip
with all required sources is created.To Clean and Build the code for development: yarn build-dev
./dist/
Folder is removed../dist/
folder../minimal-consent-dev.zip
with all required sources is created.To Clean and Start Hot Deploy for the browser: yarn start
./dist/
Folder is removed../dist/
folder.To create a Source Code Bundle for Review at Firefox use: yarn source-zip
./src/
The JavaScript is minified using terser-webpack-plugin
.
For Development you would only use yarn start
.
If you make changes to manifest.json
or webpack.js
please restart as these files are not covered during hot deploy.
Source code and images are located in ./src/
.
After installation in the browser the pages for testing will open automatically. This functionally is triggered from the backend script.
The extension requires the following permissions
chrome://extensions/
in the address bar./dist/
directory.https://europe-west1-minimal-consent-chrome-ext.cloudfunctions.net/