Skip to content

Commit 47e8c1d

Browse files
jshajeremyn
authored andcommitted
Remove downgrades for xkcd and dict.cc. (EFForg#9158)
1 parent 21ddb95 commit 47e8c1d

File tree

3 files changed

+1
-26
lines changed

3 files changed

+1
-26
lines changed

src/chrome/content/rules/Dict.cc.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -122,21 +122,7 @@
122122
<target host="entr.dict.cc" />
123123
<target host="en-tr.dict.cc" />
124124

125-
<exclusion pattern="^http://[\w-]+\.dict\.cc/dict/options\.php" />
126125

127-
<!-- Downgrade rule is required, because website creates broken link by itself, when fetched via HTTPS -->
128-
<rule from="^https://([\w-]+)\.dict\.cc/dict/options\.php"
129-
to="http://$1.dict.cc/dict/options.php" downgrade="1"/>
130-
131-
<test url="http://www.dict.cc/dict/options.php" />
132-
<test url="https://www.dict.cc/dict/options.php" />
133-
<test url="http://deen.dict.cc/dict/options.php" />
134-
<test url="https://deen.dict.cc/dict/options.php" />
135-
<test url="http://de-en.dict.cc/dict/options.php" />
136-
<test url="https://de-en.dict.cc/dict/options.php" />
137-
138-
<rule from="^http://dict\.cc/"
139-
to="https://www.dict.cc/"/>
140126
<rule from="^http:"
141127
to="https:"/>
142128
</ruleset>

src/chrome/content/rules/xkcd.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@
7575
<target host="whatif.xkcd.com" />
7676
<target host="what-if.xkcd.com" />
7777
<target host="www.xkcd.com" />
78+
<target host="c.xkcd.com" />
7879

7980
<!-- Complications:
8081
-->
81-
<target host="c.xkcd.com" />
8282
<target host="www.store.xkcd.com" />
8383

8484
<target host="xkcd.org" />
@@ -92,18 +92,9 @@
9292
<test url="http://m.xkcd.com/1663/" />
9393
<test url="http://www.xkcd.com/1663/" />
9494

95-
<exclusion pattern="^http://c\.xkcd\.com/" />
96-
97-
9895
<rule from="^http://(www\.|m\.)?xkcd\.org/"
9996
to="https://$1xkcd.com/" />
10097

101-
<rule from="^https://c\.xkcd\.com/"
102-
to="http://c.xkcd.com/"
103-
downgrade="1" />
104-
105-
<test url="https://c.xkcd.com/" />
106-
10798
<rule from="^http://www\.store\.xkcd\.com/"
10899
to="https://store.xkcd.com/" />
109100

utils/downgrade-whitelist.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Cheezburger
55
Contextly.com (partial)
66
Craigslist.org (partial)
77
dafont.com (partial)
8-
dict.cc
98
EvoTronix (partial)
109
Fourmilab (partial)
1110
IBTimes.co.uk
@@ -18,4 +17,3 @@ Oak Ridge National Laboratory (partial)
1817
SRG SSR (partial)
1918
Stack Exchange (partial)
2019
University of Alaska Anchorage (partial)
21-
xkcd

0 commit comments

Comments
 (0)