Chrome version bump
[https-everywhere.git] / src / chrome / content / rules / Twitter.xml
1 <!--
2 Nonfunctional domains:
3
4 - blog.twitter.com (hosted on Blogger)
5 - engineering.twitter.com (hosted on Blogger; interrupted)
6 - status.twitter.com
7 - status.twitter.jp
8
9
10 CDN buckets:
11
12 - a1095.g.akamai.net/=/1095/134446/1d/platform.twitter.com/ | platform2.twitter.com.edgesuite.net
13
14 - platform2.twitter.com
15
16 - twitter-any.s3.amazonaws.com
17 - twitter-blog.s3.amazonaws.com
18
19 - d2rdfnizen5apl.cloudfront.net
20
21 - s.twimg.com
22
23 - ssl2.twitter.com.edgekey.net
24 - twitter.github.com
25
26
27 Problematic domains:
28
29 - twimg.com subdomains:
30
31 - a[12] (mismatched, CN: gp1.wac.edgecastcdn.net)
32 - a3 *
33 - a4 (mismatched, CN: si0.twimg.com)
34 - a5 *
35 - s (cloudfront)
36
37 - twitter.com subdomains:
38
39 - urls.api *
40 - platform[0-3] (403, akamai)
41 - anywhere.platform *
42 - widgets.platform (mismatched, CN: si0.twimg.com)
43
44 * akamai
45
46
47 Fully covered domains:
48
49 - (www.)t.co (www → ^)
50
51 - twimg.com subdomains:
52
53 - a\d (→ si0)
54 - abs
55 - ea
56 - g
57 - gu
58 - hca
59 - jp
60 - ma
61 - ma[0123]
62 - o
63 - p
64 - pbs
65 - r
66 - s (→ d2rdfnizen5apl.cloudfront.net)
67 - si[0-5]
68 - syndication
69 - cdn.syndication
70 - widgets
71
72 - twitter.com subdomains:
73
74 - (www.)
75 - 201[012]
76 - ads
77 - analytics
78 - api
79 - cdn.api
80 - urls.api (→ cdn.api)
81 - business
82 - preview.cdn
83 - preview-dev.cdn
84 - preview-stage.cdn
85 - de
86 - dev
87 - en
88 - es
89 - firefox
90 - fr
91 - it
92 - ja
93 - jp
94 - m
95 - media
96 - mobile
97 - music
98 - oauth
99 - p
100 - platform
101 - platform[0-3] (→ platform)
102 - anywhere.platform (→ platform)
103 - widgets.platform (→ platform)
104 - search
105 - static
106 - support
107 - transparency
108 - upload
109
110 -->
111 <ruleset name="Twitter">
112
113 <target host="t.co" />
114 <target host="*.t.co" />
115 <target host="*.twimg.com" />
116 <target host="twitter.com" />
117 <target host="*.twitter.com" />
118
119
120 <securecookie host="^\.t\.co$" name=".+" />
121 <securecookie host="^(?:.*\.)?twitter\.com$" name=".+" />
122
123
124 <rule from="^http://(?:www\.)?t\.co/"
125 to="https://t.co/" />
126
127 <rule from="^http://a\d\.twimg\.com/"
128 to="https://si0.twimg.com/" />
129
130 <rule from="^http://(abs|ea|gu?|hca|jp|ma\d?|o|p|pbs|r|si\d|(?:cdn\.)?syndication|widgets)\.twimg\.com/"
131 to="https://$1.twimg.com/" />
132
133 <rule from="^http://s\.twimg\.com/"
134 to="https://d2rdfnizen5apl.cloudfront.net/" />
135
136 <rule from="^http://((?:201\d|ads|analytics|(?:cdn\.)?api|business|preview(?:-dev|-stage)?\.cdn|de|dev|en|es|firefox|fr|it|ja|jp|m|media|mobile|music|oauth|p|platform|search|static|support|transparency|upload|www)\.)?twitter\.com/"
137 to="https://$1twitter.com/" />
138
139 <rule from="^http://urls\.api\.twitter\.com/"
140 to="https://cdn.api.twitter.com/" />
141
142 <rule from="^http://(?:blo|engineerin)g\.twitter\.com/favicon\.ico"
143 to="https://www.blogger.com/favicon.ico"/>
144
145 <rule from="^http://(?:anywhere\.|widgets\.)?platform\d?\.twitter\.com/"
146 to="https://platform.twitter.com/" />
147
148 </ruleset>