From b0a2977413ee484b706880c9cd755c0b30484a07 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 7 May 2022 07:17:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=96=87=E6=A1=A3?=
=?UTF-8?q?=E4=B9=8B=E5=AE=B6]=20=E6=94=AF=E6=8C=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
other/Autopage/rules.json | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json
index fcb98b3..25d93e5 100644
--- a/other/Autopage/rules.json
+++ b/other/Autopage/rules.json
@@ -399,7 +399,7 @@
},
"豆瓣 - 广播/日记/书评/影评评论": {
"host": ["www.douban.com","book.douban.com","movie.douban.com"],
- "url": "return ((fun.indexOF(/^\\/people\\/.+\\/status/) && (!fun.indexOF('tab=','s') || fun.indexOF('tab=comment','s'))) || (fun.indexOF(/^\\/note\\/\\d+\\//) && !fun.indexOF('type=','s')) || fun.indexOF(/^\\/review\\/\\d+\\//))",
+ "url": "return ((fun.indexOF(/^\\/people\\/.+\\/status/) && (!fun.indexOF('tab=','s') || fun.indexOF('tab=comment','s'))) || (fun.indexOF(/^\\/note\\/\\d+\\//) && !fun.indexOF('type=','s')) || fun.indexOF(/^\\/review\\/\\d+\\//))",
"pager": {
"type": 6,
"nextL": "a.next",
@@ -410,7 +410,7 @@
},
"豆瓣 - 片单/标签/小组讨论精选/广播/日记": {
"host": "www.douban.com",
- "url": "return (fun.indexOF(/^\\/(doulist|tag)\\//) || fun.lp() == '/group/explore' || ((fun.indexOF(/^\\/people\\/.+\\/status/) && fun.indexOF('tab=','s') && !fun.indexOF('tab=collect','s'))) || (fun.indexOF(/^\\/note\\/\\d+\\//) && fun.indexOF('type=','s')))",
+ "url": "return (fun.indexOF(/^\\/(doulist|tag)\\//) || fun.lp() == '/group/explore' || ((fun.indexOF(/^\\/people\\/.+\\/status/) && fun.indexOF('tab=','s') && !fun.indexOF('tab=collect','s'))) || (fun.indexOF(/^\\/note\\/\\d+\\//) && fun.indexOF('type=','s')))",
"pager": {
"nextL": "link[rel='next']",
"pageE": ".doulist-item, .article>.mod:not([id='doulist-info']), .channel-item, .list",
@@ -2272,7 +2272,7 @@
"blank": 3,
"pager": {
"nextL": "id('container')/ul[@style][not(@class)]/li/a[contains(text(), '下一页')]",
- "pageE": "#container>.div_right .blockcontent.div_right_r_3>ul",
+ "pageE": "#container>.div_right .blockcontent.div_right_r_3>ul",
"replaceE": "#container>ul[style]:not([class])"
}
},
@@ -2577,7 +2577,7 @@
},
"LimeTorrents": {
"host": "/^www\\.limetorrents\\./",
- "url": "return (document.title.indexOf('LimeTorrents') > -1 && (fun.indexOF('/search/') || fun.indexOF('/browse-torrents')))",
+ "url": "return (document.title.indexOf('LimeTorrents') > -1 && (fun.indexOF('/search/') || fun.indexOF('/browse-torrents')))",
"blank": 3,
"pager": {
"nextL": "a#next",
@@ -2920,7 +2920,7 @@
"漫画DB": {
"host": "www.manhuadb.com",
"url": "if (fun.indexOF(/^\\/manhua\\/\\d+\\/.+\\.html/)) {if (fun.getCSS('img.img-fluid.show-pic')){fun.getCSS('img.img-fluid.show-pic').style.display = 'none';}; setTimeout(()=>{let _img = '', data = document.querySelector('.vg-r-data'), imgDate = JSON.parse(atob(img_data));for (let i = 0; i < imgDate.length; i++) {_img += `
`;};document.querySelector('.pjax-container').insertAdjacentHTML('beforeend', _img);},500); return true;}",
- "style": ".row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;} .pjax-container>img {min-height: 300px;}",
+ "style": ".row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;} .pjax-container>img {min-height: 300px;}",
"history": true,
"pager": {
"nextL": "//ol[@class='links-of-books num_div']//a[@class='active ']/parent::li/following-sibling::li[1]/a",
@@ -3275,7 +3275,7 @@
},
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画": {
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com","www.manmantai.com","www.izhegu.com"],
- "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (location.hostname == 'www.ykmh.com' || location.hostname == 'www.manmantai.com'||location.hostname == 'www.izhegu.com'|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (location.hostname == 'www.ykmh.com'||location.hostname == 'www.izhegu.com') {chapterPath=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}",
+ "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (location.hostname == 'www.ykmh.com' || location.hostname == 'www.manmantai.com'||location.hostname == 'www.izhegu.com'|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (location.hostname == 'www.ykmh.com'||location.hostname == 'www.izhegu.com') {chapterPath=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}",
"style": ".img_land_prev, .img_land_next,p.img_info, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996, .chapter-view>div[style]:not([id]):not([class]) {display: none !important;} #images{min-height: 6000px !important;} #images>img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}",
"history": true,
"pager": {
@@ -5058,6 +5058,17 @@
"scrollD": 2000
}
},
+ "文档之家": {
+ "host": "www.doczj.com",
+ "url": "/^\\/doc\\//",
+ "pager": {
+ "type": 3,
+ "nextL": "a.next",
+ "pageE": "#contents>*:not(.pages):not(#downcontainer)",
+ "replaceE": ".pages",
+ "scrollD": 600
+ }
+ },
"答题无忧": {
"host": "www.dati56.com",
"url": "/^\\/post\\//",