Skip to content

Commit

Permalink
添加chinaz (#24)
Browse files Browse the repository at this point in the history
Co-authored-by: sleepinghua <shenthought@gmial.com>
  • Loading branch information
sleepinghua and sleepinghua authored Mar 11, 2021
1 parent 8ff1cc7 commit 4ea7d20
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions userscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
// @match https://developers.weixin.qq.com/community/middlepage/href?href=*
// @match https://docs.qq.com/scenario/link.html?url=*
// @match https://www.pixiv.net/jump.php?url=*
// @version 0.7.9
// @match https://www.chinaz.com/go.shtml?url=*
// @version 0.7.10
// @run-at document-idle
// @namespace https://old-panda.com/
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js
Expand Down Expand Up @@ -159,7 +160,8 @@
oschina: 'https://www.oschina.net/action/GoToLink?url=',
weixindev:'https://developers.weixin.qq.com/community/middlepage/href?href=',
qqdocs: 'https://docs.qq.com/scenario/link.html?url=',
pixiv: 'https://www.pixiv.net/jump.php?url='
pixiv: 'https://www.pixiv.net/jump.php?url=',
chinaz: 'https://www.chinaz.com/go.shtml?url='
}

$(document).ready(function () {
Expand Down Expand Up @@ -209,6 +211,9 @@
if (match(fuckers.pixiv)){
redirect(curURL, "url")
}
if (match(fuckers.chinaz)){
redirect(curURL, "url")
}
});

})();

0 comments on commit 4ea7d20

Please sign in to comment.