Name: duckduckgo-privacy-extension
Owner: DuckDuckGo
Description: DuckDuckGo Privacy Essentials browser extension for Firefox, Chrome, Safari.
Created: 2017-12-11 23:26:44.0
Updated: 2018-05-24 20:01:17.0
Pushed: 2018-05-24 20:10:04.0
Homepage: https://duckduckgo.com/app
Size: 18482
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
DuckDuckGo Firefox, Chrome, and Safari extensions
This software is licensed under the terms of the Apache License, Version 2.0 (see LICENSE). Copyright (c) 2012 - 2017 duckduckgo.com
npm install
from root directoryFirefox:
npm run dev-firefox
Load the extension in Firefox from the build/firefox/dev
directory
Temporary installation in Firefox - Mozilla | MDN
Chrome:
npm run dev-chrome
Load the extension in Chrome from the build/chrome/dev
directory
Getting Started: Building a Chrome Extension - Google Chrome
Safari:
npm run dev-safari
Load the extension in Safari from the build/duckduckgo.safariextension/dev/duckduckgo.safariextension
directory using the extension builder
Shared JS, CSS, and images are located in the shared
directory.
Popup: shared/js/ui
Background: shared/js/
Browser specific files, including manifest files, are located in browsers/<browser-name>
Run the dev build task for your browser from the 'Build' section above. The build files are located in /build/<browser>/dev
. Point your browser to this location to load the extension:
After running the build task it will continue watching for changes to any of the source files. After saving any changes to these files it will automatically rebuild the dev
directory for you.
moz-extension://<yourExtensionID/test/index.html
Chrome: chrome-extension://<yourExtensionID/test/index/html
An easy way to find your extension ID is to go to the settings
page for the extension. The window URL will have the extension ID in it.
Setup
source selenium-test/setup.sh
npm install
grunt
Testing Single Site ./selenium-test/ratings.js -u https://website.com
Testing Top 500 ./selenium-test/ratings.js -n 2
(where n = [1 - 500])
Testing Multiple Sites ./selenium-test/ratings.js -f urls.txt
(file should have 1 url on each line)
Using XVFB To test on a remote server with XVBF installed, add -x
flag: ./selenium-test/ratings.js -x -u https://website.com
Please make an issue before working on any new features or bug fixes.**
develop
branchdevelop
with the format: rc-<release version>
browsers/chrome/manifest.json
npm run release-chrome
build/chrome/release
locallybuild/chrome/release/chrome-release-YYYYMMDD-hhmmss.zip
browsers/firefox/manifest.json
npm run release-firefox
build/firefox/release
locallycd build/firefox/release
web-ext
to package, sign, and upload to the Firefox Addon storeweb-ext sign --api-key=$JWT_ISSUER --api-secret=$JWT_SECRET
browsers/duckduckgo.safariextension/Info.plist
. You need to update both CFBundleVersion
and CFBundleShortVersionString
.npm run dev-safari
.localStorage.clear()
and Companies.resetData()
.