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

Commit 75d3cb4

Browse files
committed
Update QQ.xml QQ.com-mixedcontent.xml
Remove commented target in QQ.xml that also exists in mixedcontent Enable connect, imgcache, jsqmt in QQ.xml Move kf, pay to mixedcontent
1 parent 71f5e33 commit 75d3cb4

File tree

2 files changed

+29
-31
lines changed

2 files changed

+29
-31
lines changed

src/chrome/content/rules/QQ.com-mixedcontent.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,26 @@
1414
-->
1515

1616
<ruleset name="QQ.com (mixed content)" platform="mixedcontent">
17-
17+
<target host="service.qq.com" />
18+
<target host="kf.qq.com" />
19+
<rule from="^https?://(kf|service)\.qq\.com/(?=.+)"
20+
to="https://kf.qq.com/" />
21+
<test url="http://kf.qq.com/product/aq.html" />
22+
<test url="http://service.qq.com/product/aq.html" />
23+
<test url="http://kf.qq.com/product/QQ.html" />
24+
<test url="http://service.qq.com/product/QQ.html" />
1825
<target host="888.qq.com" />
26+
<target host="ac.qq.com" />
1927
<target host="cb.qq.com" />
20-
<target host="connect.qq.com" />
2128
<target host="film.qq.com" />
2229
<target host="kg.qq.com" />
2330
<target host="nr.qq.com" />
2431
<target host="cache.tv.qq.com" />
2532
<target host="y.qq.com" />
33+
<target host="p.y.qq.com" />
34+
<target host="pay.qq.com" />
2635

2736
<securecookie host="^\w" name="." />
2837

2938
<rule from="^http:" to="https:" />
30-
3139
</ruleset>

src/chrome/content/rules/QQ.xml

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@
160160
- mxv ²
161161
- nr ³
162162
- ossweb-img ²
163-
- pay ²
163+
- pay ʲ
164164
- qqgame ²
165165
- open.qqgame ²
166-
- service ³
166+
- service
167167
- cdn.tencentgroup ²
168168
- cache.tv ³
169169
- v ³
@@ -179,7 +179,8 @@
179179
180180
² Mismatched
181181
³ Mixed css
182-
182+
ʲ Mixed js
183+
ᵐ 301 Moved Permanently
183184
184185
Insecure cookies are set for these domains and hosts:
185186
@@ -207,17 +208,17 @@
207208
208209
- ac from ac.gtimg.com
209210
- act.daoju from ossweb-img.qq.com
210-
- cb, service, cache.tv, v from imgcache.qq.com *
211+
- cb, cache.tv, v from imgcache.qq.com *
211212
- connect from qzonestyle.gtimg.cn
212213
- film, kg, m.v, y, m.y from imgcache.gtimg.cn
213214
- igame from i.igcdn.cn
214-
- pay from imgcache.qq.com
215+
- pay from imgcache.qq.com*
215216
- nr, p.y from qzonestyle.gtimg.cn
216217
217218
- Images, on:
218219
219220
- ac from ac.gtimg.com
220-
- cb, kf, pay, service from imgcache.qq.com *
221+
- cb, kf, pay from imgcache.qq.com *
221222
- connect from qzonestyle.gtimg.cn
222223
- connect from pub.idqqimg.com *
223224
- act.daoju, igame from ossweb-img.qq.com
@@ -240,36 +241,30 @@
240241
241242
-->
242243
<ruleset name="QQ.com (partial)">
243-
244-
<!--target host="ac.qq.com" /-->
245244
<target host="aq.qq.com" />
246245
<target host="js.aq.qq.com" />
247246
<target host="combo.b.qq.com" />
248247
<!-- Get from http://www.geetest.com/ -->
249248
<test url="http://combo.b.qq.com/da/id.html" />
250249
<target host="byod.qq.com" />
251-
<!--target host="cb.qq.com" /-->
252-
<!--target host="connect.qq.com" /-->
250+
<target host="connect.qq.com" />
251+
<!-- Time out
252+
target host="dp3.qq.com" /-->
253253
<target host="pcbrowser.dd.qq.com" />
254254
<target host="exmail.qq.com" />
255-
<!--target host="cnc.exmail.qq.com" /-->
256-
255+
<target host="edu.exmail.qq.com" />
256+
<target host="en.exmail.qq.com" />
257+
<target host="m.exmail.qq.com" />
258+
<target host="open.exmail.qq.com" />
257259
<!-- May stop the auto check : https://travis-ci.org/EFForg/https-everywhere/jobs/157928826#L257
258260
target host="edu.exmail.qq.com" />
259261
<test url="http://edu.exmail.qq.com/cgi-bin/sellonlinestatic" /-->
260-
261-
<target host="en.exmail.qq.com" />
262-
<target host="m.exmail.qq.com" />
263-
<target host="open.exmail.qq.com" />
264-
<!--target host="tel.exmail.qq.com" /-->
265-
<!--target host="film.qq.com" /-->
266-
<!--target host="gaauth.qq.com" /-->
262+
<!-- Time out
263+
target host="gaauth.qq.com" /-->
267264
<target host="hao.qq.com" />
268265
<target host="igame.qq.com" />
269266
<target host="imgcache.qq.com" />
270267
<target host="ke.qq.com" />
271-
<!-- redirects to http and Mixedcontent on https://kf.qq.com/product/weixin.html :
272-
target host="kf.qq.com" /-->
273268
<target host="kg.qq.com" />
274269
<target host="x.l.qq.com" />
275270
<test url="http://x.l.qq.com/unique.swf" />
@@ -287,8 +282,6 @@
287282
<target host="wp.mail.qq.com" />
288283
<target host="ws.mail.qq.com" />
289284
<target host="music.qq.com" />
290-
<!--target host="nr.qq.com" /-->
291-
<target host="pay.qq.com" />
292285
<target host="pingfore.qq.com" />
293286
<target host="pingjs.qq.com" />
294287
<target host="ssl.ptlogin2.qq.com" />
@@ -300,7 +293,6 @@
300293
<target host="qian.qq.com" />
301294
<target host="r.qq.com" />
302295
<target host="reader.qq.com" />
303-
<!--target host="service.qq.com" /-->
304296
<target host="file.service.qq.com" />
305297
<target host="support.qq.com" />
306298
<target host="open.t.qq.com" />
@@ -312,7 +304,6 @@
312304
<test url="http://v.qq.com/x/cover/jj0y3okpdfg82b3/z0021zgdwqa.html" />
313305
<test url="http://v.qq.com/x/cover/zf2z0xpqcculhcz/t001688s8yi.html" />
314306
<test url="http://v.qq.com/movie/" />
315-
316307
<!--target host="m.v.qq.com" /-->
317308
<target host="sec.video.qq.com" />
318309
<target host="vpic.video.qq.com" />
@@ -333,11 +324,10 @@
333324
<target host="wx2.qq.com" />
334325
<target host="file.wx2.qq.com" />
335326
<target host="login.wx2.qq.com" />
336-
<!--target host="y.qq.com" /-->
337-
<!--target host="p.y.qq.com" /-->
327+
<target host="jsqmt.qq.com" />
328+
<test url="http://jsqmt.qq.com/cdn_djl.js" />
338329

339330
<securecookie host="^\w" name="." />
340331

341332
<rule from="^http:" to="https:" />
342-
343333
</ruleset>

0 commit comments

Comments
 (0)