新增 [Presearch]、[豆瓣 - top250] 支持; 优化 [菜鸟教程] 规则

This commit is contained in:
xiu2
2022-04-27 11:42:43 +08:00
parent 9a93e46725
commit 7163908952
+18 -4
View File
@@ -294,6 +294,20 @@
"scrollD": 2000
}
},
"Presearch": {
"host": "engine.presearch.org",
"url": "/^\\/search/",
"style": ".items-center.justify-center.text-black, .text-gray-300>div[x-data] {display: none !important;}",
"pager": {
"type": 6,
"nextL": ".font-light.border-b-2.border-transparent:last-of-type>a",
"pageE": ".text-gray-300>div, head>script:not([src])",
"replaceE": ".font-light.border-b-2.border-transparent>a",
"scriptT": 2,
"loadTime": 500,
"scrollD": 2500
}
},
"WebCrawler 搜索": {
"host": "www.webcrawler.com",
"url": "return (fun.indexOF('qc=web','s') || !fun.indexOF('qc=','s'))",
@@ -375,12 +389,12 @@
"replaceE": "#paginator"
}
},
"豆瓣 - 分集短评/剧评影评/在看/想看/看过的电影/作品": {
"豆瓣 - top250/分集短评/剧评影评/在看/想看/看过的电影/作品": {
"host": "movie.douban.com",
"url": "return (fun.indexOF(/^\\/subject\\/\\d+\\/(episode|tv_discuss)/) || fun.indexOF(/^\\/subject\\/\\d+\\/reviews/) || fun.indexOF(/^\\/people\\/\\d+\\/(do|wish|collect)/) || fun.indexOF(/^\\/celebrity\\/\\d+\\/movies/))",
"url": "return (fun.lp() == '/top250' || fun.indexOF(/^\\/subject\\/\\d+\\/(episode|tv_discuss)/) || fun.indexOF(/^\\/subject\\/\\d+\\/reviews/) || fun.indexOF(/^\\/people\\/\\d+\\/(do|wish|collect)/) || fun.indexOF(/^\\/celebrity\\/\\d+\\/movies/))",
"pager": {
"nextL": "link[rel='next']",
"pageE": "#comments, .review-list, .grid-view, .grid_view>ul>li",
"pageE": ".grid_view, #comments, .review-list, .grid-view, .grid_view>ul>li",
"replaceE": ".paginator"
}
},
@@ -4318,7 +4332,7 @@
"菜鸟教程": {
"host": "www.runoob.com",
"url": "if (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn')) return true",
"style": "#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;} .left-column.site-fix {position: initial !important;}",
"style": "#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;} .middle-column {min-height: 1000px;}",
"history": true,
"pager": {
"type": 3,