Skip to content

Commit 2b3e55e

Browse files
committed
Merge branch 'release' of github.com:EFForg/https-everywhere into cliqzMaster
2 parents f729a39 + 7035dde commit 2b3e55e

500 files changed

Lines changed: 14792 additions & 5494 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

chromium/manifest.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"author": {
88
"email": "eff.software.projects@gmail.com"
9-
},
9+
},
1010
"background": {
1111
"scripts": [
1212
"rules.js",
@@ -15,35 +15,35 @@
1515
"background.js",
1616
"incognito-cache-clearing.js"
1717
]
18-
},
18+
},
1919
"browser_action": {
2020
"default_icon": {
21-
"38": "icons/icon-active-38.png"
22-
},
23-
"default_popup": "popup.html",
21+
"38": "icons/icon-active-38.png"
22+
},
23+
"default_popup": "popup.html",
2424
"default_title": "__MSG_about_ext_name__"
25-
},
26-
"default_locale": "en",
27-
"description": "__MSG_about_ext_description__",
28-
"devtools_page": "devtools.html",
29-
"homepage_url": "https://www.eff.org/https-everywhere",
25+
},
26+
"default_locale": "en",
27+
"description": "__MSG_about_ext_description__",
28+
"devtools_page": "devtools.html",
29+
"homepage_url": "https://www.eff.org/https-everywhere",
3030
"icons": {
31-
"48": "icons/icon-active-48.png",
32-
"128": "icons/icon-active-128.png"
33-
},
34-
"incognito": "spanning",
35-
"manifest_version": 2,
36-
"minimum_chrome_version": "45",
37-
"name": "__MSG_about_ext_name__",
31+
"128": "icons/icon-active-128.png",
32+
"48": "icons/icon-active-48.png"
33+
},
34+
"incognito": "spanning",
35+
"manifest_version": 2,
36+
"minimum_chrome_version": "45",
37+
"name": "__MSG_about_ext_name__",
3838
"permissions": [
39-
"webNavigation",
40-
"webRequest",
41-
"webRequestBlocking",
42-
"tabs",
43-
"cookies",
44-
"storage",
39+
"webNavigation",
40+
"webRequest",
41+
"webRequestBlocking",
42+
"tabs",
43+
"cookies",
44+
"storage",
4545
"<all_urls>"
4646
],
4747
"update_url": "https://www.eff.org/files/https-everywhere-chrome-updates.xml",
48-
"version": "2016.6.9"
49-
}
48+
"version": "2016.7.19"
49+
}

chromium/popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1 i18n="about_ext_name"></h1>
2525
</section>
2626
<section id="HttpNowhere" class="options">
2727
<input id="http-nowhere-checkbox" type="checkbox" value="httpNowhere"/>
28-
<label i18n="menu_blockHttpRequests" for="http-nowhere-checkbox"></label>
28+
<label i18n="menu_blockUnencryptedRequests" for="http-nowhere-checkbox"></label>
2929
</section>
3030

3131
<div id="RuleManagement">

ruleset-style.md

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ To that end, here are some style guidelines for writing or modifying rulesets.
77
They are intended to help and simplify in places where choices are ambiguous,
88
but like all guidelines they can be broken if the circumstances require it.
99

10-
Avoid using the left-wildcard ("&lt;target host='*.example.com'&gt;") unless
10+
Avoid using the left-wildcard (`<target host='*.example.com' />`) unless
1111
you intend to rewrite all or nearly all subdomains. Many rules today specify
1212
a left-wildcard target, but the rewrite rules only rewrite an explicit list
1313
of hostnames.
1414

15-
Instead, prefer listing explicit target hosts and a single rewrite from "^http:" to
16-
"^https:". This saves you time as a ruleset author because each explicit target
15+
Instead, prefer listing explicit target hosts and a single rewrite from `"^http:"` to
16+
`"^https:"`. This saves you time as a ruleset author because each explicit target
1717
host automatically creates an implicit test URL, reducing the need to add your
1818
own test URLs. These also make it easier for someone reading the ruleset to figure out
1919
which subdomains are covered.
2020

2121
If you know all subdomains of a given domain support HTTPS, go ahead and use a
22-
left-wildcard, along with a plain rewrite from "^http:" to "^https:". Make sure
22+
left-wildcard, along with a plain rewrite from `"^http:"` to `"^https:"`. Make sure
2323
to add a bunch of test URLs for the more important subdomains. If you're not
2424
sure what subdomains might exist, you can iteratively use google queries and enumerate
2525
the list of results like such:
@@ -31,16 +31,16 @@ the list of results like such:
3131
... and so on.
3232

3333
If there are a handful of tricky subdomains, but most subdomains can handle the
34-
plain rewrite from "^http:" to "^https:", specify the rules for the tricky
34+
plain rewrite from `"^http:"` to `"^https:"`, specify the rules for the tricky
3535
subdomains first, and then then plain rule last. Earlier rules will take
3636
precedence, and processing stops at the first matching rule. There may be a tiny
3737
performance hit for processing exception cases earlier in the ruleset and the
3838
common case last, but in most cases the performance issue is trumped by readability.
3939

40-
Avoid regexes with long strings of subdomains, e.g. &lt;rule
41-
from="^http://(foo|bar|baz|bananas).example.com" /&gt;. These are hard to read and
40+
Avoid regexes with long strings of subdomains, e.g. `<rule
41+
from="^http://(foo|bar|baz|bananas).example.com" />`. These are hard to read and
4242
maintain, and are usually better expressed with a longer list of target hosts,
43-
plus a plain rewrite from "^http:" to "^https:".
43+
plus a plain rewrite from `"^http:"` to `"^https:"`.
4444

4545
Prefer dashes over underscores in filenames. Dashes are easier to type.
4646

@@ -80,30 +80,29 @@ Here is an example ruleset pre-style guidelines:
8080
8181
<rule from="^http://((?:developers|html-differences|images|resources|\w+\.spec|wiki|www)\.)?whatwg\.org/"
8282
to="https://$1whatwg.org/" />
83-
8483
</ruleset>
8584
```
8685

8786
Here is how you could rewrite it according to these style guidelines, including
8887
test URLs:
88+
8989
```
9090
<ruleset name="WHATWG.org">
91-
<target host="whatwg.org" />
92-
<target host="developers.whatwg.org" />
93-
<target host="html-differences.whatwg.org" />
94-
<target host="images.whatwg.org" />
95-
<target host="resources.whatwg.org" />
96-
<target host="*.spec.whatwg.org" />
97-
<target host="wiki.whatwg.org" />
98-
<target host="www.whatwg.org" />
99-
100-
<test url="http://html.spec.whatwg.org/" />
101-
<test url="http://fetch.spec.whatwg.org/" />
102-
<test url="http://xhr.spec.whatwg.org/" />
103-
<test url="http://dom.spec.whatwg.org/" />
104-
105-
<rule from="^http:"
106-
to="https:" />
107-
91+
<target host="whatwg.org" />
92+
<target host="developers.whatwg.org" />
93+
<target host="html-differences.whatwg.org" />
94+
<target host="images.whatwg.org" />
95+
<target host="resources.whatwg.org" />
96+
<target host="*.spec.whatwg.org" />
97+
<target host="wiki.whatwg.org" />
98+
<target host="www.whatwg.org" />
99+
100+
<test url="http://html.spec.whatwg.org/" />
101+
<test url="http://fetch.spec.whatwg.org/" />
102+
<test url="http://xhr.spec.whatwg.org/" />
103+
<test url="http://dom.spec.whatwg.org/" />
104+
105+
<rule from="^http:"
106+
to="https:" />
108107
</ruleset>
109-
108+
```

ruleset-testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ target host with a right-side wildcard. But this is not yet implemented.
3737
<test url="http://www.example.com/" />
3838
<test url="http://beta.example.com/" />
3939

40-
<rule from="^http://([\w-]+\.)?dezeen\.com/"
41-
to="https://$1dezeen.com/" />
40+
<rule from="^http://([\w-]+\.)?example\.com/"
41+
to="https://$1example.com/" />
4242

4343
</ruleset>
4444

@@ -50,7 +50,7 @@ using explicit &lt;test&gt; tags.
5050

5151
# Testing and Continuous Build
5252

53-
Testing for rulest coverage is now part of the Travis CI continuous build.
53+
Testing for ruleset coverage is now part of the Travis CI continuous build.
5454
Currently we only test rulesets that have been modified since February 2 2015.
5555
Submitting changes to any ruleset that does not meet the coverage requirements
5656
will break the build. This means that even fixes of existing rules may require

src/Changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
Firefox 5.2.1
2+
* Bugfix release: fix CSS to prevent large icons
3+
4+
Chrome 2016.7.19
5+
* New release fixing icon inclusion problem
6+
7+
Firefox 5.2.0 / Chrome 2016.7.18
8+
* Ruleset fixes
9+
* Updating icons
10+
* 'Block all unencrypted requests' now allows requests to .onion addresses
11+
112
Firefox 5.1.10 / Chrome 2016.6.9
213
* Ruleset fixes
314
* Fixing Tor Browser race condition

0 commit comments

Comments
 (0)