This is the web extension version of the Firefox Lightbeam add-on for visualizing HTTP requests between websites in real time.
The Firefox Lightbeam extension by Mozilla is a key tool for Mozilla to educate the public about privacy.
Note This repository uses a submodule to allow some third party requests. To ensure the submodule is cloned along with this repository, use a modified clone
command:
git clone --recursive https://github.com/mozilla/lightbeam-we.git
There are a couple ways to try out this web extension:
Open Firefox and load about:debugging
in the URL bar.
manifest.json
file within the directory of this repository.Install the web-ext tool, change into the src
directory of this repository, and type web-ext run
.
Run npm run build
.
To manually update the submodule at any time during development, run git submodule update
.
Run npm run test
to check that everything is OK.
eslint
globally, you will have to install globally the following eslint
plugins too:
eslint-plugin-json
eslint-plugin-mocha
npm run lint:eslint
npm run test:karma
Eslint is used for linting. Karma, Mocha & Chai are used for unit testing. Additionally the test suites are run on the Travis service providing continuous integration support.