forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 4
/
ABC_News.xml
86 lines (61 loc) · 2.29 KB
/
ABC_News.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!--
For rules causing false/broken MCB, see ABC_News-falsemixed.xml.
Problematic domains:
- a.abcnews.com *
- a.abcnews.go.com *
* 503, akamai
Mixed content:
- css on abcnews.go.com from a.abcnews.com
- Images, on:
- abcnews.go.com from a.abcnews.com
- abcnews.go.com from a.abcnews.com
- Ads/bugs, on:
- abcnews.go.com from www.googleadservices.com
- abcnews.go.com from pixel.quantserve.com
-->
<ruleset name="ABC News (partial)">
<!-- Direct rewrites:
-->
<target host="abcnews.go.com" />
<!-- Complications:
-->
<target host="a.abcnews.com" />
<target host="a.abcnews.go.com" />
<!-- Avoid false/broken MCB:
-->
<exclusion pattern="^http://abcnews\.go\.com/+(?!assets/|favicon\.ico|gma$|images/)" />
<!-- +ve:
-->
<test url="http://abcnews.go.com/entertainment" />
<test url="http://abcnews.go.com/health" />
<test url="http://abcnews.go.com/sports" />
<test url="http://abcnews.go.com/topics/" />
<test url="http://abcnews.go.com/us" />
<!-- -ve:
-->
<test url="http://abcnews.go.com/assets/images/v3/pixel_eee.gif" />
<test url="http://abcnews.go.com/favicon.ico" />
<test url="http://abcnews.go.com/gma" />
<test url="http://abcnews.go.com/images/Entertainment/gty_blake_and_miranda_mm_150720_16x9t_240.jpg" />
<!-- https://github.com/EFForg/https-everywhere/issues/2274#issuecomment-122768270
Avoid video breakage:
-->
<exclusion pattern="^http://a\.abcnews(?:\.go)?\.com/.+(?!(?:gif|jpg|png)(?:$|\?))" />
<!-- +ve:
-->
<test url="http://a.abcnews.com/assets/beta/_sass/css/icons.css" />
<test url="http://a.abcnews.com/assets/beta/css/page-types/header_.css" />
<test url="http://a.abcnews.com/assets/scss/css/indexv2.css" />
<test url="http://a.abcnews.com/assets/scss/css/indexv3.css" />
<test url="http://a.abcnews.com/assets/scss/css/nav_hp.css" />
<test url="http://a.abcnews.com/assets/scss/css/nav_sub.css" />
<test url="http://a.abcnews.com/assets/scss/css/videolightbox.css" />
<test url="http://a.abcnews.com/assets/scss/css/videoplayer.css" />
<!-- -ve:
-->
<test url="http://a.abcnews.com/assets/images/spacer.gif" />
<rule from="^http://a\.abcnews(?:\.go)?\.com/"
to="https://abcnews.go.com/" />
<rule from="^http:"
to="https:" />
</ruleset>