This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
花漫
committed
Jan 12, 2015
1 parent
40fae95
commit 24efc66
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"build":1,"rules":[{"url":"^https?:\\/\\/(((ajax|fonts)\\.googleapis\\.com)|(themes\\.googleusercontent\\.com)|(fonts\\.gstatic\\.com))\\/","replacer":"function (url){\n return url.replace('googleapis.com', 'lug.ustc.edu.cn')\n .replace('themes.googleusercontent.com', 'google-themes.lug.ustc.edu.cn')\n .replace('fonts.gstatic.com', 'fonts-gstatic.lug.ustc.edu.cn')\n}","regex":true,"type":"function","enable":true,"inTrash":false},{"url":"http://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.2/jquery.min.js","replacer":"http://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.2/jquery.js","regex":false,"type":"url","enable":true,"inTrash":false},{"url":"^http:\\/\\/fc\\.5sing\\.com\\/(\\d+)\\.html.*$","replacer":"function (url){\n var matchResult = url.match(/^http:\\/\\/fc\\.5sing\\.com\\/(\\d+)\\.html.*$/)\n return 'http://5sing.kugou.com/fc/' + matchResult[1] + '.html'\n}","regex":true,"type":"function","enable":true,"inTrash":false},{"url":"http://www.google-analytics.com/analytics-2.js","replacer":"function (){\n // return undefined 的例子,表示不进行重定向\n // 当然,这个链接可能访问不了\n}","regex":false,"type":"function","enable":true,"inTrash":false},{"url":"http://www.google-analytics.com/analytics-1.js","replacer":"function (){\n return false\n // 这是返回值为 false 的例子,表示阻止跳转\n}","regex":false,"type":"function","enable":true,"inTrash":false},{"url":"http://www.google-analytics.com/analytics.js","replacer":"","regex":false,"type":"url","enable":true,"inTrash":false},{"url":"^http:\\/\\/cc\\.stream\\.qqmusic\\.qq\\.com\\/.*\\.m4a.*$","replacer":"function (url){\n download(url)\n}","regex":true,"type":"function","enable":true,"inTrash":false}]} | ||
{"build":3,"rules":[{"url":"^https:\\/\\/www\\.google\\.com\\.hk\\/url\\?(.*&)?url=","replacer":"/* Google 结果页面直接跳转 */\nfunction (url){\n var matchResult = url.match(/&url=([^&]+).*/)\n return matchResult && decodeURIComponent(matchResult[1])\n}","regex":true,"type":"function","enable":true,"inTrash":false},{"url":"^https?:\\/\\/(((ajax|fonts)\\.googleapis\\.com)|(themes\\.googleusercontent\\.com)|(fonts\\.gstatic\\.com))\\/","replacer":"/* Google 资源国内 CDN */\nfunction (url){\n return url.replace('googleapis.com', 'lug.ustc.edu.cn')\n .replace('themes.googleusercontent.com', 'google-themes.lug.ustc.edu.cn')\n .replace('fonts.gstatic.com', 'fonts-gstatic.lug.ustc.edu.cn')\n}","regex":true,"type":"function","enable":true,"inTrash":false},{"url":"http://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.2/jquery.min.js","replacer":"http://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.2/jquery.js","regex":false,"type":"url","enable":true,"inTrash":false},{"url":"^http:\\/\\/fc\\.5sing\\.com\\/(\\d+)\\.html.*$","replacer":"function (url){\n var matchResult = url.match(/^http:\\/\\/fc\\.5sing\\.com\\/(\\d+)\\.html.*$/)\n return 'http://5sing.kugou.com/fc/' + matchResult[1] + '.html'\n}","regex":true,"type":"function","enable":true,"inTrash":false},{"url":"http://www.google-analytics.com/analytics-2.js","replacer":"function (){\n // return undefined 的例子,表示不进行重定向\n // 当然,这个链接可能访问不了\n}","regex":false,"type":"function","enable":true,"inTrash":false},{"url":"http://www.google-analytics.com/analytics-1.js","replacer":"function (){\n return false\n // 这是返回值为 false 的例子,表示阻止跳转\n}","regex":false,"type":"function","enable":true,"inTrash":false},{"url":"http://www.google-analytics.com/analytics.js","replacer":"","regex":false,"type":"url","enable":true,"inTrash":false},{"url":"^http:\\/\\/cc\\.stream\\.qqmusic\\.qq\\.com\\/.*\\.m4a.*$","replacer":"function (url){\n download(url)\n}","regex":true,"type":"function","enable":true,"inTrash":false},{"url":"http://^https?://hm\\.baidu\\.com/h\\.js.*$","replacer":"","regex":true,"type":"url","enable":true,"inTrash":false},{"url":"^http:\\/\\/w\\.cnzz\\.com\\/","replacer":"","regex":true,"type":"url","enable":true,"inTrash":false}]} |