Skip to content

Commit da62370

Browse files
author
MB
committed
[Qz.com] Don't force !www, enumerate, squish, add img, add/update comments, cosmetics
1 parent bdb2e71 commit da62370

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/chrome/content/rules/Qz.com.xml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,44 @@
33
44
- wac.35fb.edgecastcdn.net/??35FB/
55
6-
- app
7-
- img
86
9-
10-
Nonfunctional subdomains:
7+
Nonfunctional hosts in *qz.com:
118
129
- app *
13-
- img *
1410
15-
* EdgeCast
11+
* 404
1612
1713
1814
Mixed content:
1915
2016
- css, on ^ from:
2117
22-
- app ¹
18+
- app.qz.com ¹
2319
- fonts.googleapis.com ²
2420
25-
- favicon, on ^ from \d.gravatar.com ²
21+
- favicon, on ^ from app.qz.com ²
22+
- Bug on ^ from b.scorecardresearch.com ²
2623
2724
¹ Unsecurable <= 404
2825
² Secured by us
2926
3027
-->
3128
<ruleset name="Qz.com (partial)" default_off="mismatched" platform="mixedcontent">
3229

30+
<!-- Direct rewrites:
31+
-->
3332
<target host="qz.com" />
34-
<target host="*.qz.com" />
33+
<target host="www.qz.com" />
34+
35+
<!-- Complications:
36+
-->
37+
<target host="img.qz.com" />
3538

3639

37-
<rule from="^http://(?:www\.)?qz\.com/"
38-
to="https://qz.com/" />
40+
<rule from="^http://img\.qz\.com/"
41+
to="https://qzprod.files.wordpress.com/" />
3942

40-
<!-- Protocol-relative links:
41-
-->
42-
<rule from="^https://img\.qz\.com/"
43-
to="http://img.qz.com/" downgrade="1" />
43+
<rule from="^http:"
44+
to="https:" />
4445

4546
</ruleset>

utils/downgrade-whitelist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Nextag (self-signed)
2222
NYTimes.com (needs ruleset tests)
2323
Oak Ridge National Laboratory (partial)
2424
Phoronix.com (partial)
25-
Qz.com (partial)
2625
SRG SSR (partial)
2726
Stack Exchange (partial)
2827
University of Alaska Anchorage (partial)

0 commit comments

Comments
 (0)