Skip to content

Commit

Permalink
5.2.4 修正书迷楼网址匹配
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Oct 18, 2015
1 parent fbcf452 commit 864512a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
16 changes: 10 additions & 6 deletions MyNovelReader/MyNovelReader.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @name My Novel Reader
// @name:zh-CN 小说阅读脚本
// @name:zh-TW 小說閱讀腳本
// @version 5.2.3
// @version 5.2.4
// @namespace https://github.com/ywzhaiqi
// @author ywzhaiqi
// @contributor Roger Au, shyangs, JixunMoe、akiba9527 及其他网友
Expand Down Expand Up @@ -57,7 +57,7 @@
// @include http://booklink.me/*

// booklink.me
// @include http://www.shumilou.com/*/*.html
// @include http://www.shumilou.co/*/*.html
// @include http://www.wcxiaoshuo.com/wcxs-*-*/
// @include http://www.xiaoshuoz.com/wcxs-*-*/
// @include http://www.quledu.com/wcxs-*-*/
Expand Down Expand Up @@ -663,7 +663,6 @@ Rule.specialSite = [
"—无—错—小说",
"\\+无\\+错\\+",
"&无&错&小说",
"+无+错+小说+3W.++com",
"无错小说 www.quled[Uu].com",
],
contentPatch: function(fakeStub){
Expand Down Expand Up @@ -693,7 +692,7 @@ Rule.specialSite = [
]
},
{siteName: "书迷楼",
url: /^http:\/\/www\.shumilou\.com\/.*html$/,
url: /^http:\/\/www\.shumilou\.com?\/.*html$/,
titleReg: /(.*) (.*?) 书迷楼/,
titlePos: 1,
contentSelector: "#content",
Expand Down Expand Up @@ -1559,6 +1558,8 @@ Rule.specialSite = [
'《更新最快小说网站:雲来阁http://WWW.YunLaiGe.COM》',
'◢百度搜索雲来阁,最新最快的小说更新◣',
'【當你閱讀到此章節,請您移步到雲來閣閱讀最新章節,或者,雲來閣】',
'【看恐怖小说、玄幻小说、请大家登陆黑岩居http://www.heiyanju.com万本小说免费看】',
'如您已阅读到此章节,请移步到.*',
'===百!?度搜索.*?新章节===',
'【最新更新】',
'值得您收藏。。',
Expand All @@ -1572,7 +1573,8 @@ Rule.specialSite = [
'w∨23w',
'www23wxcom',
'¥℉頂¥℉点¥℉小¥℉',
'£∝頂£∝点£∝小£∝'
'£∝頂£∝点£∝小£∝',
'篮。色。书。巴,',
]
},
{siteName: "乐文小说网",
Expand Down Expand Up @@ -1715,7 +1717,8 @@ Rule.specialSite = [
'≧哈,m\\.',
'\\[\\s*超多好看\\]',
'热门【首发】',
"===百度搜索.*?==="
'===百度搜索.*?===',
'===\\*\\*小说巴士.*?===',
]
},

Expand Down Expand Up @@ -1974,6 +1977,7 @@ Rule.replaceAll = [
// 包含 \P 的替换
'\\P{1,2}[顶頂].{1,3}[点小].*?o?[mw,]',
'\\P.?长.{1,2}风.{1,2}文.{1,2}学.*?[tx]',
'\\P无.错.*?[cC][oO][mM]',
'[;\\(]顶.{0,2}点.小说',
'2长2风2文2学,w¢$',
'》长>风》',
Expand Down
2 changes: 1 addition & 1 deletion MyNovelReader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MyNovelReader",
"version": "5.2.3",
"version": "5.2.4",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion MyNovelReader/src/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
// @include http://booklink.me/*

// booklink.me
// @include http://www.shumilou.com/*/*.html
// @include http://www.shumilou.co/*/*.html
// @include http://www.wcxiaoshuo.com/wcxs-*-*/
// @include http://www.xiaoshuoz.com/wcxs-*-*/
// @include http://www.quledu.com/wcxs-*-*/
Expand Down
12 changes: 8 additions & 4 deletions MyNovelReader/src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ Rule.specialSite = [
"—无—错—小说",
"\\+无\\+错\\+",
"&无&错&小说",
"+无+错+小说+3W.++com",
"无错小说 www.quled[Uu].com",
],
contentPatch: function(fakeStub){
Expand Down Expand Up @@ -382,7 +381,7 @@ Rule.specialSite = [
]
},
{siteName: "书迷楼",
url: /^http:\/\/www\.shumilou\.com\/.*html$/,
url: /^http:\/\/www\.shumilou\.com?\/.*html$/,
titleReg: /(.*) (.*?) 书迷楼/,
titlePos: 1,
contentSelector: "#content",
Expand Down Expand Up @@ -1248,6 +1247,8 @@ Rule.specialSite = [
'《更新最快小说网站:雲来阁http://WWW.YunLaiGe.COM》',
'◢百度搜索雲来阁,最新最快的小说更新◣',
'【當你閱讀到此章節,請您移步到雲來閣閱讀最新章節,或者,雲來閣】',
'【看恐怖小说、玄幻小说、请大家登陆黑岩居http://www.heiyanju.com万本小说免费看】',
'如您已阅读到此章节,请移步到.*',
'===百!?度搜索.*?新章节===',
'【最新更新】',
'值得您收藏。。',
Expand All @@ -1261,7 +1262,8 @@ Rule.specialSite = [
'w∨23w',
'www23wxcom',
'¥℉頂¥℉点¥℉小¥℉',
'£∝頂£∝点£∝小£∝'
'£∝頂£∝点£∝小£∝',
'篮。色。书。巴,',
]
},
{siteName: "乐文小说网",
Expand Down Expand Up @@ -1404,7 +1406,8 @@ Rule.specialSite = [
'≧哈,m\\.',
'\\[\\s*超多好看\\]',
'热门【首发】',
"===百度搜索.*?==="
'===百度搜索.*?===',
'===\\*\\*小说巴士.*?===',
]
},

Expand Down Expand Up @@ -1663,6 +1666,7 @@ Rule.replaceAll = [
// 包含 \P 的替换
'\\P{1,2}[顶頂].{1,3}[点小].*?o?[mw,]',
'\\P.?长.{1,2}风.{1,2}文.{1,2}学.*?[tx]',
'\\P无.错.*?[cC][oO][mM]',
'[;\\(]顶.{0,2}点.小说',
'2长2风2文2学,w¢$',
'》长>风》',
Expand Down

0 comments on commit 864512a

Please sign in to comment.