Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
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
27 changes: 8 additions & 19 deletions src/chrome/content/rules/126.net.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
imglf.ph.126.net
music.ph.126.net https://music.ph.126.net/ph.js
file.ws.stu.126.net
imglf(\d).nosdn0.126.net Equal to imglf$1.nosdn.127.net

Redirect to http:
easyread.ph.126.net

Refuse to connect:
m10.music.126.net (Outside China)
Expand All @@ -35,35 +37,22 @@
<target host="s2.music.126.net" />
<target host="s3.music.126.net" />
<target host="s4.music.126.net" />
<target host="easyread.ph.126.net" />
<test url="http://easyread.ph.126.net/0jkjwGfV7I4EJXnYlRBkVg==/7917077456266817441.jpg" />
<target host="pimg1.126.net" />
<test url="http://pimg1.126.net/silver/product/fams/banner/902d4fad-7b08-4977-8cb4-501d0927811a.jpg" />
<target host="*.nosdn0.126.net" />
<test url="http://imglf3.nosdn0.126.net/img/WFU1VmZJa3UxeFltWTJ4ZDNOZDU4NXRmUFVLR1lXS1gySnpVQ2JObm95VjZjQjNGWVBjU2x3PT0.jpg" />
<test url="http://imglf4.nosdn0.126.net/img/WFU1VmZJa3UxeFltWTJ4ZDNOZDU4M2wwT05lSzRHZjZkN2RTOFMxOEFPVGRjTmlQdkRIcDlBPT0.jpg" />
<test url="http://imglf6.nosdn0.126.net/img/WFU1VmZJa3UxeFltWTJ4ZDNOZDU4K3VuTEdoMmZZcGJzR2YyMFdidWlsVFBlNWwzMlkzZTFnPT0.jpg" />
<target host="cst.stu.126.net" />
<test url="http://cst.stu.126.net/u/js/cms/reuglar.0.3.1.js" />
<target host="ct.stu.126.net" />
<target host="file.ws.126.net" />
<test url="http://file.ws.126.net/3g/client/netease_newsreader_android.apk" />
<target host="yuedust.yuedu.126.net" />

<!--
Mismatched:
get some img tests on
https://renwuzaoxing.lofter.com/
-->
<!-- Mismatched: -->
<target host="s2.open.126.net" />

<target host="*.nosdn0.126.net" />

<rule from="^http://s2\.open\.126\.net/"
to="https://s2.open.163.com/" />
<test url="http://s2.open.126.net/ocb/css/style.css" />

<rule from="^http://imglf(\d+)\.nosdn0\.126\.net/"
to="https://imglf$1.nosdn.127.net/" />
<test url="http://imglf3.nosdn0.126.net/img/WFU1VmZJa3UxeFltWTJ4ZDNOZDU4NXRmUFVLR1lXS1gySnpVQ2JObm95VjZjQjNGWVBjU2x3PT0.jpg" />
<test url="http://imglf4.nosdn0.126.net/img/WFU1VmZJa3UxeFltWTJ4ZDNOZDU4M2wwT05lSzRHZjZkN2RTOFMxOEFPVGRjTmlQdkRIcDlBPT0.jpg" />
<test url="http://imglf6.nosdn0.126.net/img/WFU1VmZJa3UxeFltWTJ4ZDNOZDU4K3VuTEdoMmZZcGJzR2YyMFdidWlsVFBlNWwzMlkzZTFnPT0.jpg" />

<rule from="^http:" to="https:" />
</ruleset>