forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 4
/
9gag.xml
56 lines (35 loc) · 1.45 KB
/
9gag.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!--
CDN buckets:
- d1y9yo7q4hy8a7.cloudfront.net
- d24w6bsrhbeh9d.cloudfront.net
Problematic subdomains:
- images.cdn ¹
- t (works; mismatched, CN: 9gag.com)
¹ Cloudfront
Partially covered subdomains:
- (www.) *
- m *
* Some pages redirect to http.
Fully covered subdomains:
- admin
- api
- comment
- images-cdn (→ d24w6bsrhbeh9d.cloudfront.net)
-->
<ruleset name="9gag (partial)">
<target host="9gag.com" />
<target host="*.9gag.com" />
<!--exclusion pattern="^http://(www\.)?9gag\.com/+($|\?|(cute|fresh|gag/\w+|geeky|gif|hot|nsfw|trending)($|\?))" /-->
<!--exclusion pattern="^http://(www\.)?9gag\.com/+(?!(about|advertise|faq|login|privacy|recover|signup|tos)($|[?/])|favicon\.ico|img/)" /-->
<!--exclusion pattern="^http://m\.9gag\.com/+($|\?|gag/\w+($|\?))" /-->
<!--exclusion pattern="^http://m\.9gag\.com/+(?!favicon\.ico|img/|(login|recover|signup)($|\?))" /-->
<exclusion pattern="^http://(?:m\.|www\.)?9gag\.com/+(?!(?:about|advertise|faq|login|privacy|recover|signup|tos)(?:$|[?/])|favicon\.ico|img/)" />
<target host="assets-9gag-lol.9cache.com" />
<securecookie host="^admin\.9gag\.com$" name=".+" />
<rule from="^http://((?:admin|api|comment|m|www)\.)?9gag\.com/"
to="https://$19gag.com/" />
<rule from="^http://images-cdn\.9gag\.com/"
to="https://d24w6bsrhbeh9d.cloudfront.net/" />
<rule from="^http://assets-9gag-lol\.9cache\.com/"
to="https://assets-9gag-lol.9cache.com/" />
</ruleset>