Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit a119431

Browse files
Chan Chak ShingJ0WI
authored andcommitted
Update Vice.xml, add shop.vice.com (#15945)
* Update Vice.xml, add shop.vice.com * Simplify and update Vice.xml
1 parent baf588f commit a119431

2 files changed

Lines changed: 13 additions & 102 deletions

File tree

src/chrome/content/rules/Vice-problematic.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/chrome/content/rules/Vice.xml

Lines changed: 13 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,19 @@
11
<!--
2-
For problematic rules, see Vice-problematic.xml.
3-
4-
52
Other Vice Media rulesets:
63
74
- Motherboard.tv.xml
85
- Noisey.com.xml
96
- viceland.com.xml
107
118
12-
Nonfunctional domains:
13-
14-
- (www.)?noisey.cn
15-
16-
17-
CDN buckets:
18-
19-
20-
- ec2-184-73-100-150.compute-1.amazonaws.com
21-
- scs-assets.s3.amazonaws.com
22-
- d19o6jcqbnxtyy.cloudfront.net
23-
24-
- d1qzzfctbfyh6r.cloudfront.net
25-
26-
- assets.vice.com
27-
28-
- d1ymkg0yqrfr5q.cloudfront.net
29-
- df5qbu832tmne.cloudfront.net
30-
31-
- assets.thumb.vice.com
32-
33-
- motherboard.vice.com.edgesuite.net
34-
- motherboard-cdn-assets.vice.com.edgesuite.net
35-
36-
37-
Problematic hosts in *vice.com:
38-
39-
- assets ¹
40-
- link ¹
41-
- shop ³ ⁴
42-
- assets.thump ¹
43-
- socials.uk ⁵
44-
45-
¹ cloudfront
46-
¹ Mismatched
47-
³ Expired
48-
⁴ Self-signed
49-
⁵ Revoked
50-
9+
Non-functional hosts:
5110
52-
Insecure cookies are set for these hosts:
11+
Timeout:
12+
- socials.uk.vice.com
5313
54-
- manage.vice.com
14+
Certificate mismatched:
15+
- link.vice.com
16+
- assets.thump.vice.com
5517
5618
5719
Mixed content:
@@ -76,9 +38,10 @@
7638
-->
7739
<ruleset name="Vice.com (partial)">
7840

79-
<!-- Direct rewrites:
80-
-->
8141
<target host="vice.com" />
42+
<target host="www.vice.com" />
43+
<test url="http://www.vice.com/stuff" />
44+
<target host="assets.vice.com" />
8245
<target host="assets2.vice.com" />
8346
<target host="assets-news.vice.com" />
8447
<target host="assets-sports.vice.com" />
@@ -94,58 +57,22 @@
9457
<target host="motherboard-images.vice.com" />
9558
<target host="munchies.vice.com" />
9659
<target host="news.vice.com" />
60+
<test url="http://news.vice.com/shows" />
9761
<target host="news-images.vice.com" />
9862
<target host="noisey.vice.com" />
9963
<target host="scs-assets-cdn.vice.com" />
64+
<target host="shop.vice.com" />
10065
<target host="sports.vice.com" />
10166
<target host="sports-images.vice.com" />
10267
<target host="staging-assets-news.vice.com" />
68+
<target host="store.vice.com" />
10369
<target host="thecreatorsproject.vice.com" />
10470
<target host="thecreatorsproject-images.vice.com" />
10571
<target host="thump.vice.com" />
10672
<target host="vice-sundry-assets-cdn.vice.com" />
107-
<target host="www.vice.com" />
108-
109-
<!-- Complications:
110-
-->
111-
<target host="assets.vice.com" />
112-
<target host="link.vice.com" />
113-
<target host="assets.thump.vice.com" />
114-
115-
<!--exclusion pattern="^http://(?:shop|social)\.vice\.com/" /-->
116-
117-
<test url="http://news.vice.com/shows" />
118-
<test url="http://www.vice.com/stuff" />
119-
120-
121-
<!-- Not secured by server:
122-
-->
123-
<!--securecookie host="^manage\.vice\.com$" name="^(_lang|PHPSESSID)$" /-->
12473

12574
<securecookie host=".+" name=".+" />
12675

127-
<rule from="^http://assets\.vice\.com/"
128-
to="https://d1qzzfctbfyh6r.cloudfront.net/" />
129-
130-
<rule from="^http://link\.vice\.com/+(?=$|\?)"
131-
to="https://vice.com/" />
132-
133-
<test url="http://link.vice.com/?f" />
134-
<test url="http://link.vice.com/?o" />
135-
<test url="http://link.vice.com//" />
136-
<test url="http://link.vice.com//?o" />
137-
138-
<rule from="^http://link\.vice\.com/"
139-
to="https://cb.sailthru.com/" />
140-
141-
<test url="http://link.vice.com/join/3nh/viceussignup" />
142-
143-
<!--rule from="^http://store\.vice\.com/"
144-
to="https://vice.myshopify.com/" /-->
145-
146-
<rule from="^http://assets\.thump\.vice\.com/"
147-
to="https://df5qbu832tmne.cloudfront.net/" />
148-
149-
<rule from="^http:" to="https:" />
76+
<rule from="^http:" to="https:" />
15077

15178
</ruleset>

0 commit comments

Comments
 (0)