Skip to content

Commit

Permalink
5.2.2 修正 remenxs.com 上下页链接
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Sep 28, 2015
1 parent ad41a84 commit b67b9e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion 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.1
// @version 5.2.2
// @namespace https://github.com/ywzhaiqi
// @author ywzhaiqi
// @contributor Roger Au, shyangs, JixunMoe、akiba9527 及其他网友
Expand Down Expand Up @@ -1180,6 +1180,8 @@ Rule.specialSite = [
{siteName: "热门小说网",
url: 'http://www.remenxs.com/du_\\d+/\\d+/',
bookTitleSelector: 'section.readhead > div.read_t > div.lf > a:nth-child(2)',
nextSelector: '.pagego > font:contains("下一章") + a',
prevSelector: '.pagego > font:contains("上一章") + a',
contentSelector: ".yd_text2",
contentRemove: '.adrs, .con_w, a',
contentReplace: [
Expand Down Expand Up @@ -1713,6 +1715,7 @@ Rule.specialSite = [
'≧哈,m\\.',
'\\[\\s*超多好看\\]',
'热门【首发】',
"===百度搜索.*?==="
]
},

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.1",
"version": "5.2.2",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.10.0",
Expand Down
3 changes: 3 additions & 0 deletions MyNovelReader/src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,8 @@ Rule.specialSite = [
{siteName: "热门小说网",
url: 'http://www.remenxs.com/du_\\d+/\\d+/',
bookTitleSelector: 'section.readhead > div.read_t > div.lf > a:nth-child(2)',
nextSelector: '.pagego > font:contains("下一章") + a',
prevSelector: '.pagego > font:contains("上一章") + a',
contentSelector: ".yd_text2",
contentRemove: '.adrs, .con_w, a',
contentReplace: [
Expand Down Expand Up @@ -1402,6 +1404,7 @@ Rule.specialSite = [
'≧哈,m\\.',
'\\[\\s*超多好看\\]',
'热门【首发】',
"===百度搜索.*?==="
]
},

Expand Down

0 comments on commit b67b9e2

Please sign in to comment.