-
-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-dnt-header-test
Conflicts: src/js/background.js tests/selenium/dnt_test.py
- Loading branch information
Showing
87 changed files
with
22,888 additions
and
5,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
src/lib/vendor/ | ||
src/tests/lib/vendor/ | ||
node_modules/ | ||
**/selenium/ | ||
!tests/selenium/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Broken Site Report | ||
about: Report a broken site or site service | ||
|
||
--- | ||
|
||
<!-- | ||
Is Privacy Badger breaking something somewhere? We'd like to get it fixed! Let's get some debugging information first. | ||
--> | ||
|
||
### What is your browser and browser version? | ||
|
||
### What is broken and where? | ||
|
||
### What is the domain that causes breakage when blocked? What is your debug output for this domain? | ||
``` | ||
Please follow the instructions on | ||
https://github.com/EFForg/privacybadger/wiki/Find-out-why-Privacy-Badger-is-blocking-a-domain | ||
and paste the output here. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,16 +16,14 @@ Here is a quick orientation to guide your adventure: | |
and | ||
["help wanted"](https://github.com/EFForg/privacybadger/labels/help%20wanted) | ||
labels. | ||
* When working on Privacy Badger's codebase, | ||
please consult our [guide to setting up automated tests](/doc/tests.md). | ||
* When making changes to Privacy Badger's code, please consult our [developer](/doc/develop.md) and [automated testing](/doc/tests.md) guides. | ||
* Security vulnerabilities can be reported privately to | ||
[[email protected]](mailto:[email protected]). Please see our | ||
[Security Vulnerability Disclosure Program](https://www.eff.org/security) | ||
for the GPG key and more information. | ||
<!--- | ||
* This short overview of Privacy Badger's architecture can help put things in perspective. | ||
* Developer setup and debugging. | ||
* Documentation brought you this document. | ||
--> | ||
|
||
If you find something confusing or frustrating, please let us know! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Working with Privacy Badger's code | ||
|
||
To make changes to Privacy Badger, you have to first load the extension from a source code checkout. | ||
|
||
|
||
## Install from source | ||
|
||
To install Privacy Badger from source in Chrome, visit `chrome://extensions`, enable "Developer mode", click "Load unpacked" and select the [`src`](src/) subdirectory inside your copy of the Privacy Badger source code. | ||
|
||
In Firefox, visit `about:debugging`, click "Load Temporary Add-on" and select the [`src/manifest.json`](src/manifest.json) file. Note that this only installs the extension temporarily; it will be removed when you close Firefox. | ||
|
||
|
||
## Send a pull request | ||
|
||
Before submitting a pull request (PR), please check your changes using [ESLint](https://eslint.org), our preferred automated static analysis ("lint") tool. | ||
|
||
### Lint your changes | ||
|
||
First, install the exact expected version of ESLint by running `npm install` in your Privacy Badger source code checkout directory. You should then be able to produce a lint report by running `make lint` in the same directory. | ||
|
||
You can review our set of ESLint rules in [`.eslintrc.yml`](/.eslintrc.yml). Files we want ESLint to ignore are specified in [`.eslintignore`](/.eslintignore). | ||
|
||
### Writing good commit messages | ||
|
||
I highly suggest reviewing the suggestions in this [excellent guide to writing commit messages](https://chris.beams.io/posts/git-commit/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.