Skip to content

Commit 6ba670b

Browse files
committed
优化 [游侠网] 规则
1 parent 5b8c2cd commit 6ba670b

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

other/Autopage/rules.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@
16931693
},
16941694
"学犀牛 - 帖子列表": {
16951695
"host": ["www.xuexiniu.com","bbs.xuexiniu.com"],
1696-
"url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay') && fun.getCSS('ul.waterfall')) return true",
1696+
"url": "return (fun.getCSS('body#nv_forum.pg_forumdisplay') && fun.getCSS('ul.waterfall'))",
16971697
"pager": {
16981698
"nextL": "a.nxt:not([href*='javascript'])",
16991699
"pageE": ".waterfall>li",
@@ -1702,7 +1702,7 @@
17021702
},
17031703
"学犀牛 - 帖子列表2": {
17041704
"host": ["www.xuexiniu.com","bbs.xuexiniu.com"],
1705-
"url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay')) return true",
1705+
"url": "return fun.getCSS('body#nv_forum.pg_forumdisplay')",
17061706
"history": false,
17071707
"pager": {
17081708
"nextL": "a.nxt:not([href^='javascript']) ,a.next:not([href^='javascript'])",
@@ -1712,7 +1712,7 @@
17121712
},
17131713
"学犀牛 - 帖子内": {
17141714
"host": ["www.xuexiniu.com","bbs.xuexiniu.com"],
1715-
"url": "if (fun.getCSS('body#nv_forum.pg_viewthread')) return true",
1715+
"url": "return fun.getCSS('body#nv_forum.pg_viewthread')",
17161716
"thread": true,
17171717
"pager": {
17181718
"nextL": "a.nxt:not([href*='javascript'])",
@@ -1801,7 +1801,7 @@
18011801
},
18021802
"3DM - 分类页": {
18031803
"host": "www.3dmgame.com",
1804-
"url": "if (fun.getCSS('.Llist_b>div.lis')) return true",
1804+
"url": "return fun.getCSS('.Llist_b>div.lis')",
18051805
"pager": {
18061806
"nextL": "li.next>a",
18071807
"pageE": ".Llist_b>div.lis",
@@ -1813,7 +1813,7 @@
18131813
},
18141814
"3DM - 游戏专区 - 分类页": {
18151815
"host": "www.3dmgame.com",
1816-
"url": "if (fun.getCSS('.newsleft>ul')) return true",
1816+
"url": "return fun.getCSS('.newsleft>ul')",
18171817
"pager": {
18181818
"nextL": "li.next>a",
18191819
"pageE": ".newsleft>ul>li",
@@ -1825,7 +1825,7 @@
18251825
},
18261826
"3DM - 游戏专区 - 资源页": {
18271827
"host": "www.3dmgame.com",
1828-
"url": "return (fun.indexOF('/resource'))",
1828+
"url": "return fun.indexOF('/resource')",
18291829
"pager": {
18301830
"nextL": "li.next>a",
18311831
"pageE": ".item>ul",
@@ -1868,7 +1868,7 @@
18681868
},
18691869
"游侠网": {
18701870
"host": "www.ali213.net",
1871-
"url": "if (fun.getCSS('#after_this_page')) return true",
1871+
"url": "return fun.getCSS('#after_this_page')",
18721872
"pager": {
18731873
"type": 3,
18741874
"nextL": "#after_this_page",
@@ -1899,7 +1899,7 @@
18991899
},
19001900
"游侠网 - 下载页": {
19011901
"host": "down.ali213.net",
1902-
"url": "if (fun.getCSS('.famous-ul>.famous-li')) return true",
1902+
"url": "return fun.getCSS('.famous-ul>.famous-li')",
19031903
"pager": {
19041904
"nextL": "a.page-next",
19051905
"pageE": ".famous-ul>.famous-li",
@@ -1915,7 +1915,7 @@
19151915
"blank": 3,
19161916
"pager": {
19171917
"type": 3,
1918-
"nextL": "a.next",
1918+
"nextL": "a.active.n+a:not(.next)",
19191919
"pageE": ".c-detail>*",
19201920
"replaceE": ".page_fenye",
19211921
"scrollE": ".page_fenye",
@@ -4303,7 +4303,7 @@
43034303
},
43044304
"科研通": {
43054305
"host": "www.ablesci.com",
4306-
"url": "if (fun.getCSS('ul.fly-list')) return true",
4306+
"url": "return fun.getCSS('ul.fly-list')",
43074307
"pager": {
43084308
"nextL": "li.next>a",
43094309
"pageE": "ul.fly-list>li",
@@ -4470,7 +4470,7 @@
44704470
},
44714471
"菜鸟教程": {
44724472
"host": "www.runoob.com",
4473-
"url": "if (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn')) return true",
4473+
"url": "return (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn'))",
44744474
"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;}",
44754475
"history": true,
44764476
"pager": {
@@ -4792,7 +4792,7 @@
47924792
},
47934793
"致美化": {
47944794
"host": "zhutix.com",
4795-
"url": "if (fun.getCSS('#post-list')) return true;",
4795+
"url": "return fun.getCSS('#post-list')",
47964796
"pager": {
47974797
"nextL": "//li[@class='next-page']/a | //div[@class='btn-pager']/a[text()='❯']",
47984798
"pageE": "#post-list>ul>li",
@@ -6344,7 +6344,7 @@
63446344
},
63456345
"24FA": {
63466346
"host": ["/^(www\\.)?24fa.?\\.com$/","/^(www\\.)?\\d{3}w\\.cc$/"],
6347-
"url": "if(document.title.indexOf('24FA') > -1 && fun.indexOF(/^\\/m?n\\d+/)) return true",
6347+
"url": "return (document.title.indexOf('24FA') > -1 && fun.indexOF(/^\\/m?n\\d+/))",
63486348
"style": ".moreR {display: none;} #content img {width: auto; max-width: 99%; height: auto; display: block; margin: 0 auto;}",
63496349
"pager": {
63506350
"nextL": "li.p_current+li>a",

0 commit comments

Comments
 (0)