Skip to content

Commit

Permalink
4.5.2 修正起点图片替换问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Jun 28, 2014
1 parent f339b13 commit cf9aa8d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions MyNovelReader/MyNovelReader.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @id mynovelreader@[email protected]
// @name My Novel Reader
// @version 4.5.1
// @version 4.5.2
// @namespace https://github.com/ywzhaiqi
// @author ywzhaiqi
// @contributor shyangs
Expand Down Expand Up @@ -1188,7 +1188,8 @@ Rule.replace = {
// "\\)|\\]|\\}|)|】|}":")",

// 需要?
",": ",", ":": ":", "\\?":"?",
",": ",",
// ":": ":", "\\?":"?", // 会造成起点的图片无法替换

"\\*|*":"*",
"[wWwW]{3}":"www",
Expand All @@ -1215,7 +1216,7 @@ Rule.replace = {
"<a>手机用户请到m.qidian.com阅读。</a>": "",
".{2,4}中文网欢迎广大书友": "",
"访问下载txt小说":"",
"fqXSw\\.com":"", "\\.5du":"",
"fqXSw\\.com":"", "\\.5du|\\.5du5\\.":"",
"\\[\\]":"",
"如果您觉得网不错就多多分享本站谢谢各位读者的支持": "",
"全文字无广告|\\(看书窝&nbsp;看书窝&nbsp;无弹窗全文阅读\\)": "",
Expand All @@ -1240,7 +1241,7 @@ Rule.replace = {
// === 双字替换 ===
"暧m[eè][iì]":"暧昧",
"b[ěe]i(\\s|&nbsp;)*j[īi]ng":"北京","半shen": "半身", "b[ìi]j[ìi]ng":"毕竟", "报(了?)jing":"报$1警", "bèi'pò":"被迫", "包yǎng":"包养",
"ch[oō]ngd[oò]ng":"冲动", "cao(练|作)":"操$1", "缠mian": "缠绵", "成shu": "成熟", "(?:赤|chi)\\s*lu[oǒ]": "赤裸", "春guang": "春光", "chun风":"春风", "沉mi":"沉迷", "沉lun":"沉沦", "刺ji":"刺激", "chao红":"潮红", "初chun":"初春", ""chi luo"":"赤裸",
"ch[oō]ngd[oò]ng":"冲动", "chong物":"宠物", "cao(练|作)":"操$1", "缠mian": "缠绵", "成shu": "成熟", "(?:赤|chi)\\s*lu[oǒ]": "赤裸", "春guang": "春光", "chun风":"春风", "chuang伴":"床伴", "沉mi":"沉迷", "沉lun":"沉沦", "刺ji":"刺激", "chao红":"潮红", "初chun":"初春", ""chi luo"":"赤裸",
"dang校": "党校", "da子": "鞑子", "大tui":"大腿", "diao丝": "屌丝", "d[úu](?:\\s|&nbsp;|<br/>)*l[ìi]": "独立", "d[uú]\\s{0,2}c[áa]i":"独裁", "d?[iì]f[āa]ng":"地方", "d[ìi]\\s*d[ūu]":"帝都", "di国":"帝国", "duo落":"堕落",
"f[ǎa]ngf[óo]":"仿佛", "fei踢": "飞踢", "feng流": "风流", "风liu": "风流", "f[èe]nn[ùu]":"愤怒",
"gao潮": "高潮", "高氵朝":"高潮", "干chai": "干柴", "gu[oò]ch[ée]ng":"过程", "gu[āa]nx[iì]":"关系", "g[ǎa]nji[àa]o":"感觉", "国wu院":"国务院",
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": "4.5.1",
"version": "4.5.2",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.10.0",
Expand Down
7 changes: 4 additions & 3 deletions MyNovelReader/src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,8 @@ Rule.replace = {
// "\\)|\\]|\\}|)|】|}":")",

// 需要?
",": ",", ":": ":", "\\?":"?",
",": ",",
// ":": ":", "\\?":"?", // 会造成起点的图片无法替换

"\\*|*":"*",
"[wWwW]{3}":"www",
Expand All @@ -973,7 +974,7 @@ Rule.replace = {
"<a>手机用户请到m.qidian.com阅读。</a>": "",
".{2,4}中文网欢迎广大书友": "",
"访问下载txt小说":"",
"fqXSw\\.com":"", "\\.5du":"",
"fqXSw\\.com":"", "\\.5du|\\.5du5\\.":"",
"\\[\\]":"",
"如果您觉得网不错就多多分享本站谢谢各位读者的支持": "",
"全文字无广告|\\(看书窝&nbsp;看书窝&nbsp;无弹窗全文阅读\\)": "",
Expand All @@ -998,7 +999,7 @@ Rule.replace = {
// === 双字替换 ===
"暧m[eè][iì]":"暧昧",
"b[ěe]i(\\s|&nbsp;)*j[īi]ng":"北京","半shen": "半身", "b[ìi]j[ìi]ng":"毕竟", "报(了?)jing":"报$1警", "bèi'pò":"被迫", "包yǎng":"包养",
"ch[oō]ngd[oò]ng":"冲动", "cao(练|作)":"操$1", "缠mian": "缠绵", "成shu": "成熟", "(?:赤|chi)\\s*lu[oǒ]": "赤裸", "春guang": "春光", "chun风":"春风", "沉mi":"沉迷", "沉lun":"沉沦", "刺ji":"刺激", "chao红":"潮红", "初chun":"初春", ""chi luo"":"赤裸",
"ch[oō]ngd[oò]ng":"冲动", "chong物":"宠物", "cao(练|作)":"操$1", "缠mian": "缠绵", "成shu": "成熟", "(?:赤|chi)\\s*lu[oǒ]": "赤裸", "春guang": "春光", "chun风":"春风", "chuang伴":"床伴", "沉mi":"沉迷", "沉lun":"沉沦", "刺ji":"刺激", "chao红":"潮红", "初chun":"初春", ""chi luo"":"赤裸",
"dang校": "党校", "da子": "鞑子", "大tui":"大腿", "diao丝": "屌丝", "d[úu](?:\\s|&nbsp;|<br/>)*l[ìi]": "独立", "d[uú]\\s{0,2}c[áa]i":"独裁", "d?[iì]f[āa]ng":"地方", "d[ìi]\\s*d[ūu]":"帝都", "di国":"帝国", "duo落":"堕落",
"f[ǎa]ngf[óo]":"仿佛", "fei踢": "飞踢", "feng流": "风流", "风liu": "风流", "f[èe]nn[ùu]":"愤怒",
"gao潮": "高潮", "高氵朝":"高潮", "干chai": "干柴", "gu[oò]ch[ée]ng":"过程", "gu[āa]nx[iì]":"关系", "g[ǎa]nji[àa]o":"感觉", "国wu院":"国务院",
Expand Down

0 comments on commit cf9aa8d

Please sign in to comment.