This extension is a Firefox SHIELD Study that recommends a VPN solution to users who may benefit from it.
Note: this step is optional, you can download a recent version of the zip here (private URL).
npm install
npm run build
The extension zip file can then be found in the /dist folder.
npm test
This extension contains privileged code as WebExtension APIs and therefore can only be run in Firefox Nightly or Dev edition.
Use the following command to randomly get into one of the branches
npm start
If you want a specific branch, run:
npm run branch:[BRANCH_NAME]
For instance, to run the captive-portal branch, you can use:
npm run branch:captive-portal
See the list of branch names below.
- Download the extension zip file
- Open Firefox Nightly
- Set your desired branch if you want to (see next section), otherwise you will randomly get into one of the branches
- Go to about:debugging
- Click on "Load Temporary Add-on..."
- Select the extension zip file
- Go to about:config
- Click on "I accept the risk!"
- Right click and select "New -> String" form the context menu
- Create the "extensions.vpn-recommendation-study-1_shield_mozilla_org.test.variationName" pref
- Set the value to the desired branch name (see the list of branch names below)
- captive-portal: triggered when you connect to a public (unencrypted) wifi network with a captive portal page
- privacy-hostname: triggered when you visit websites, examples include disconnect.me and strongvpn.com
- control: no notifications are shown
- catch-all: triggered after you use Firefox for a while
- streaming-hostname: triggered when you visit websites, examples include hulu.com and netflix.com
In case you would like to test the captive-portal branch without actually finding a public wifi network, follow the instructions below after installing the extension:
- Go to about:debugging
- Check the "Enable add-on debugging" checkbox
- Click on the "Debug" button right below the extension name
- Go to the "Console" section
- Enter
browser.experiments.vpnRecommender.fakeCaptivePortal()
- You should now see the recommendation if you are in the captive-portal branch