Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 13 additions & 29 deletions src/chrome/content/rules/ifengimg.com.xml
Original file line number Diff line number Diff line change
@@ -1,45 +1,19 @@
<!--
Related: ifengimg.com_CN.xml

Akamai:
d.ifengimg.com
p0.ifengimg.com
p1.ifengimg.com
p2.ifengimg.com
p3.ifengimg.com

y0.ifengimg.com
y1.ifengimg.com
y2.ifengimg.com
y3.ifengimg.com

Timeout:
img.ifengimg.com
-->

<ruleset name="ifengimg.com">
<!--Complication:-->
<target host="y0.ifengimg.com" />
<target host="y1.ifengimg.com" />
<target host="y2.ifengimg.com" />
<target host="y3.ifengimg.com" />

<rule from="^http://y(0|1|2|3)\.ifengimg\.com/" to="https://m$1.ifengimg.com/" />
<test url="http://y0.ifengimg.com/ifengimcp/pic/20160302/2a364254024b69d0b33f_size10_w128_h128.jpg" />

<!--Directly:-->
<target host="a0.ifengimg.com" />
<target host="a1.ifengimg.com" />
<target host="a2.ifengimg.com" />
<target host="a3.ifengimg.com" />
<test url="http://a3.ifengimg.com/autoimg/17/33/2403317_8.jpg" />
<target host="c0.ifengimg.com" />
<target host="c1.ifengimg.com" />
<target host="d.ifengimg.com" />
<test url="http://d.ifengimg.com/w120_h80_q/s0.ifengimg.com/2015/11/11/Image00100_b347912f.jpg" />
<target host="h0.ifengimg.com" />
<target host="h1.ifengimg.com" />
<target host="h2.ifengimg.com" />
<target host="h3.ifengimg.com" />
<test url="http://h3.ifengimg.com/0f56ee67a4c375c2/2013/1106/indeccode.png" />
<target host="img.ifengimg.com" />
<target host="js.ifengimg.com" />
<test url="http://js.ifengimg.com/a/2016/0720/F-RequireJS.min.js" />
<target host="m0.ifengimg.com" />
Expand All @@ -48,13 +22,23 @@
<target host="m3.ifengimg.com" />
<target host="my.ifengimg.com" />
<test url="http://my.ifengimg.com/83/170/163421fd9355b175/1425252072/163421fd9355b175_1.jpg" />
<target host="p0.ifengimg.com" />
<target host="p1.ifengimg.com" />
<target host="p2.ifengimg.com" />
<target host="p3.ifengimg.com" />
<test url="http://p3.ifengimg.com/haina/2016_43/c8f6a8b280e607f_w353_h315.jpg" />
<target host="s0.ifengimg.com" />
<target host="s1.ifengimg.com" />
<target host="s2.ifengimg.com" />
<target host="s3.ifengimg.com" />
<test url="http://s3.ifengimg.com/2015/06/24/63d60165e894ad4fdd59edca56cf00cc.jpg" />
<target host="vxml.ifengimg.com" />
<test url="http://vxml.ifengimg.com/swf/ifengVipPlayer_v1.54.swf" />
<target host="y0.ifengimg.com" />
<target host="y1.ifengimg.com" />
<target host="y2.ifengimg.com" />
<target host="y3.ifengimg.com" />
<test url="http://y3.ifengimg.com/d4a44fff10624b98/2012/0309/rdn_4f5997332822c.jpg" />

<rule from="^http:" to="https:" />
</ruleset>
17 changes: 0 additions & 17 deletions src/chrome/content/rules/ifengimg.com_CN.xml

This file was deleted.