FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

6.3.5 新增刺猬猫等多个站点 · dumpmemory/userscript@7d78e25 · GitHub

Repository navigation

Commit 7d78e25

Browse files
committed
6.3.5 新增刺猬猫等多个站点
1 parent db23468 commit 7d78e25

4 files changed

Lines changed: 39 additions & 11 deletions

File tree

‎scripts/MyNovelReader.user.js‎

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(function (Vue) {
33
'use strict';
44

5-
function __$styleInject( css ) {
5+
function __$styleInject ( css ) {
66
if(!css) return ;
77

88
if(typeof(window) == 'undefined') return ;
@@ -22,7 +22,7 @@ Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
2222
// @name My Novel Reader
2323
// @name:zh-CN 小说阅读脚本
2424
// @name:zh-TW 小說閱讀腳本
25-
// @version 6.3.4
25+
// @version 6.3.5
2626
// @namespace https://github.com/ywzhaiqi
2727
// @author ywzhaiqi
2828
// @contributor Roger Au, shyangs, JixunMoe、akiba9527 及其他网友
@@ -342,8 +342,7 @@ Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
342342
// @include *://www.snwx8.com/book/*/*/*.html
343343
// @include *://read.qidian.com/chapter/*
344344
// @include *://www.23zw.me/olread/*/*/*.html
345-
// @include *://www.piaotian.com/html/*/*/*.html
346-
// @include *://www.piaotian.net/html/*/*/*.html
345+
// @include *://www.ptwxz.com/html/*/*/*.html
347346
// @include *://www.dhzw.org/book/*/*/*.html
348347
// @include *://www.biqiuge.com/book/*/*.html
349348
// @include *://www.baquge.com/files/article/html/*/*/*.html
@@ -408,6 +407,10 @@ Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
408407
// @include *://www.88dus.com/xiaoshuo/*/*/*.html
409408
// @include *://m.yushuwu.com/novel/*/*.html
410409
// @include *://www.sbkk88.com/*/*/*.html
410+
// @include *://www.ciweimao.com/chapter/*
411+
// @include *://www.xinshubao.net/*/*/*.html
412+
// @include *://www.okdd.net/html/*/*/*.shtml
413+
// @include *://www.aixs.org/xs/*/*/*.html
411414

412415
// 移动版
413416
// @include *://wap.yc.ireader.com.cn/book/*/*/
@@ -1837,6 +1840,17 @@ const sites = [
18371840
// mutationChildCount: 5,
18381841
mutationChildText: '请到 quanben.io阅读完整章节内容',
18391842
},
1843+
{siteName: '刺猬猫',
1844+
exampleUrl: 'https://www.ciweimao.com/chapter/102930784',
1845+
url: '^https?://www\\.ciweimao\\.com/chapter/\\d+',
1846+
bookTitleSelector: '.breadcrumb > a:last()',
1847+
useiframe: true,
1848+
mutationSelector: "#J_BookRead", // 内容生成监视器
1849+
mutationChildCount: 1,
1850+
contentSelector: '#J_BookRead',
1851+
contentRemove: 'i.J_Num',
1852+
},
1853+
18401854

18411855
// ============== 内容需要2次获取的 =========================
18421856
{siteName: "手打吧",
@@ -1905,7 +1919,7 @@ const sites = [
19051919
contentSelector: "#showcontent",
19061920
},
19071921
{siteName: "飘天文学",
1908-
url: "^https?://www\\.piaotian\\.(net|com)/html/\\d+/\\d+/\\d+\\.html",
1922+
url: "^https?://www\\.ptwxz\\.(net|com)/html/\\d+/\\d+/\\d+\\.html",
19091923
// titleReg: "(.*)最新章节,(.*),飘天文学",
19101924
bookTitleSelector: '#content > h1 > a',
19111925
contentSelector: "#content",

‎src/MyNovelReader/app/components/Speech.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
<option value="hour">小时</option>
2626
</select>
2727
后停止
28-
</label></br>
28+
</label><br>
2929
<label><input type="radio" v-model="autoStop" value="chapter" />
3030
定章朗读:
3131
<input type="text" v-model="autoStopChapter" class="auto-stop-input" />章后停止
32-
</label></br>
32+
</label><br>
3333
<label><input type="radio" v-model="autoStop" value="" />一直朗读</label>
3434
</div>
3535
<div>

‎src/MyNovelReader/meta.js‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name My Novel Reader
44
// @name:zh-CN 小说阅读脚本
55
// @name:zh-TW 小說閱讀腳本
6-
// @version 6.3.4
6+
// @version 6.3.5
77
// @namespace https://github.com/ywzhaiqi
88
// @author ywzhaiqi
99
// @contributor Roger Au, shyangs, JixunMoe、akiba9527 及其他网友
@@ -323,8 +323,7 @@
323323
// @include *://www.snwx8.com/book/*/*/*.html
324324
// @include *://read.qidian.com/chapter/*
325325
// @include *://www.23zw.me/olread/*/*/*.html
326-
// @include *://www.piaotian.com/html/*/*/*.html
327-
// @include *://www.piaotian.net/html/*/*/*.html
326+
// @include *://www.ptwxz.com/html/*/*/*.html
328327
// @include *://www.dhzw.org/book/*/*/*.html
329328
// @include *://www.biqiuge.com/book/*/*.html
330329
// @include *://www.baquge.com/files/article/html/*/*/*.html
@@ -389,6 +388,10 @@
389388
// @include *://www.88dus.com/xiaoshuo/*/*/*.html
390389
// @include *://m.yushuwu.com/novel/*/*.html
391390
// @include *://www.sbkk88.com/*/*/*.html
391+
// @include *://www.ciweimao.com/chapter/*
392+
// @include *://www.xinshubao.net/*/*/*.html
393+
// @include *://www.okdd.net/html/*/*/*.shtml
394+
// @include *://www.aixs.org/xs/*/*/*.html
392395

393396
// 移动版
394397
// @include *://wap.yc.ireader.com.cn/book/*/*/

‎src/MyNovelReader/rule/sites.js‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,17 @@ const sites = [
11241124
// mutationChildCount: 5,
11251125
mutationChildText: '请到 quanben.io阅读完整章节内容',
11261126
},
1127+
{siteName: '刺猬猫',
1128+
exampleUrl: 'https://www.ciweimao.com/chapter/102930784',
1129+
url: '^https?://www\\.ciweimao\\.com/chapter/\\d+',
1130+
bookTitleSelector: '.breadcrumb > a:last()',
1131+
useiframe: true,
1132+
mutationSelector: "#J_BookRead", // 内容生成监视器
1133+
mutationChildCount: 1,
1134+
contentSelector: '#J_BookRead',
1135+
contentRemove: 'i.J_Num',
1136+
},
1137+
11271138

11281139
// ============== 内容需要2次获取的 =========================
11291140
{siteName: "手打吧",
@@ -1192,7 +1203,7 @@ const sites = [
11921203
contentSelector: "#showcontent",
11931204
},
11941205
{siteName: "飘天文学",
1195-
url: "^https?://www\\.piaotian\\.(net|com)/html/\\d+/\\d+/\\d+\\.html",
1206+
url: "^https?://www\\.ptwxz\\.(net|com)/html/\\d+/\\d+/\\d+\\.html",
11961207
// titleReg: "(.*)最新章节,(.*),飘天文学",
11971208
bookTitleSelector: '#content > h1 > a',
11981209
contentSelector: "#content",

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL