Web Extension version of the Firefox Lightbeam add-on
Перейти к файлу
Bianca Danforth e0728d9fb9 Fix null error in lightbeam.getDataGatheredSince (#182) 2017-08-29 14:35:58 -07:00
css Remove google font loading. Fixes #153. (#174) 2017-08-24 17:12:12 +01:00
docs/images README. fixes #21 (#37) 2017-06-02 00:03:14 +01:00
fonts Remove google font loading. Fixes #153. (#174) 2017-08-24 17:12:12 +01:00
images Initial UI. Fixes #53. (#47) 2017-06-16 11:00:02 +01:00
js Fix null error in lightbeam.getDataGatheredSince (#182) 2017-08-29 14:35:58 -07:00
shavar-prod-lists@218c5dffa2 Add Disconnect Entity List (AKA whitelist). Fixes #98. 2017-07-19 16:25:39 +01:00
test/unit Store set method. Fixes #18 (#39) 2017-06-12 15:34:37 +01:00
.eslintignore Remove google font loading. Fixes #153. (#174) 2017-08-24 17:12:12 +01:00
.eslintrc.json Initial COC and Contributing docs. Fixes #127. (#138) 2017-08-29 08:36:36 -07:00
.gitignore Add in lightbeam extension id, fix bundling as node_modules doesn't work in web-ext, auto build the submodule. Changed inclusion paths to new ext-libs dir which is built with 'npm run build'. Fixes #159 (#172) 2017-08-23 13:23:36 +01:00
.gitmodules Add Disconnect Entity List (AKA whitelist). Fixes #98. 2017-07-19 16:25:39 +01:00
.travis.yml Adding travis builds (#40) 2017-06-07 12:18:13 +01:00
CODE_OF_CONDUCT.md Initial COC and Contributing docs. Fixes #127. (#138) 2017-08-29 08:36:36 -07:00
CONTRIBUTING.md Initial COC and Contributing docs. Fixes #127. (#138) 2017-08-29 08:36:36 -07:00
LICENSE Initial commit 2017-04-20 12:55:56 +10:00
README.md Initial COC and Contributing docs. Fixes #127. (#138) 2017-08-29 08:36:36 -07:00
index.html Make vars dynamic. Fixes #65. (#169) 2017-08-29 10:03:16 -07:00
karma.conf.js Basic test environment setup (#23) 2017-05-29 16:03:31 +01:00
manifest.json Add in lightbeam extension id, fix bundling as node_modules doesn't work in web-ext, auto build the submodule. Changed inclusion paths to new ext-libs dir which is built with 'npm run build'. Fixes #159 (#172) 2017-08-23 13:23:36 +01:00
package.json Initial COC and Contributing docs. Fixes #127. (#138) 2017-08-29 08:36:36 -07:00

README.md

lightbeam-we

This is the web extension version of the Mozilla Lightbeam add-on for visualizing HTTP requests between websites in real time.

The Mozilla Lightbeam extension is a key tool for Mozilla to educate the public about privacy

Quick Start

Clone the repository

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

Run the web extension

There are a couple ways to try out this web extension:

  1. Open Firefox and load about:debugging in the URL bar.

    • Click the Load Temporary Add-on button and select the manifest.json file within the directory of this repository.
    • You should now see the Lightbeam icon on the top right bar of the browser.
    • Click the Lightbeam icon to launch the web extension.
    • Here is the screenshot:

    lightbeam-screenshot

  2. Install the web-ext tool, change into the directory of this repository, and type web-ext run.

    • This will launch Firefox and install the extension automatically.
    • This tool gives you some additional development features such as automatic reloading.

Development Guide

Download dependencies

Run npm run build.

Update the submodule

To manually update the submodule at any time during development, run git submodule update.

Testing

Run npm run test to check that everything is OK.

  • If you have installed eslint globally, you will have to install globally the following eslint plugins too:
    • eslint-plugin-json
    • eslint-plugin-mocha
  • Test suites include lint and unit testing. You can individually run lint or unit tests using the following commands:
    • 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.