C++ extension whitelist and blacklist parser for Brave
Extensions on the blacklist can not be installed by the user. Extensions on the whitelist may be installed normally. All other extensions may also be installed normally, but Brave will warn that "Brave has not reviewed this extension yet" (or similar wording).
You can view both lists in the whitelist.json
file.
The rest of this README is for Brave developers who need to work with this code, or any developer who wants to use it in their own project.
npm install --save extension-whitelist
-
Clone the git repository from GitHub:
git clone https://github.com/brave/extension-whitelist
-
Open the working directory:
cd extension-whitelist
-
Install the Node (v5+) dependencies:
npm install
npm run install
npm run data-files
npm run test