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
1 change: 0 additions & 1 deletion src/chrome/content/rules/Weibo.com-mixedcontent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<target host="gouwu.weibo.com" />
<target host="s.weibo.com" />
<target host="widget.weibo.com" />

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

Expand Down
38 changes: 10 additions & 28 deletions src/chrome/content/rules/Weibo.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
sg2.game.weibo.com
yahoo.tw.weibo.com

Expired:
vdisk.weibo.com

MCB:
chart.weibo.com ( Too many redirects )
e.weibo.com ( https://e.weibo.com/register/register with inline-script http://weibo.com/signup/signup.php )
game.weibo.com
gouwu.weibo.com
s.weibo.com
widget.weibo.com ( find test in help.sina.com.cn )

Invalid certificate:
www.weibo.com ( Mismatched by some strange CDNs. Equal to ^.)
app.weibo.com
book.weibo.com
static.book.weibo.com
Expand All @@ -32,13 +34,10 @@
service.weibo.com
vgirl.weibo.com
x.weibo.com

Redirect to http:
^
www.weibo.com
vdisk.weibo.com
-->
<ruleset name="Weibo.com">
<target host="weibo.com" />
<target host="www.weibo.com" />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am still getting mismatch for www...

<target host="api.weibo.com" />
<exclusion pattern="http://api\.weibo\.com/chat/" />
<test url="http://api.weibo.com/chat/#/main" />
Expand All @@ -48,33 +47,16 @@
<test url="http://upload.api.weibo.com/2/statuses/upload.json" />
<target host="captcha.weibo.com" />
<test url="http://captcha.weibo.com/static/js/patternLock.min.js" />
<target host="e.weibo.com" />
<target host="passport.weibo.com" />
<target host="security.weibo.com" />
<test url="http://security.weibo.com/app/js/v1/apps/account/jQuery1.7.1.js" />
<target host="yahoo.tw.weibo.com" />
<target host="widget.weibo.com" />

<target host="weibo.com" />
<target host="www.weibo.com" />
<exclusion pattern="^http://(www\.)?weibo\.com/($|a/|signup/|\?category=\d+)" />
<test url="http://weibo.com/a/hot/7542113473402881_1.html" />
<test url="http://weibo.com/signup/signup.php" />
<test url="http://weibo.com/?category=0" />
<test url="http://www.weibo.com/a/hot/7542113473402881_1.html" />
<test url="http://www.weibo.com/signup/signup.php" />
<test url="http://www.weibo.com/?category=0" />

<test url="http://weibo.com/163ent" />
<test url="http://weibo.com/p/1001603910588387435504" />
<test url="http://weibo.com/ttarticle/p/show?id=2309404137081357103404" />
<test url="http://weibo.com/tv/tech" />
<test url="http://weibo.com/tv/v/FdJhLrpL7" />
<test url="http://www.weibo.com/163ent" />
<test url="http://www.weibo.com/p/1001603910588387435504" />
<test url="http://www.weibo.com/ttarticle/p/show?id=2309404137081357103404" />
<test url="http://www.weibo.com/tv/tech" />
<test url="http://www.weibo.com/tv/v/FdJhLrpL7" />
<securecookie host=".+" name=".+" />

<securecookie host="^(upload\.api|yahoo\.tw)\.weibo\.com$" name=".+" />
<rule from="^http://www\.weibo\.com/" to="https://weibo.com/" />

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