Skip to content

Commit efc8c47

Browse files
committed
更新 [煎蛋网] 规则
1 parent c23e124 commit efc8c47

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

other/Autopage/rules.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@
577577
},
578578
"煎蛋网": {
579579
"host": "jandan.net",
580-
"url": "return (fun.lp() == '/' || fun.indexOF('/page/'))",
580+
"url": "/^(\\/$|\\/page\\/)/",
581581
"style": "#nav_prev, #nav_next, .post.f:not(.list-post) {display: none !important;}",
582582
"history": false,
583583
"pager": {
@@ -591,7 +591,7 @@
591591
},
592592
"煎蛋网 - 大杂烩": {
593593
"host": "jandan.net",
594-
"url": "return (fun.lp() == '/dzh')",
594+
"url": "/^\\/dzh$/",
595595
"pager": {
596596
"type": 2,
597597
"nextL": ".show_more",
@@ -600,10 +600,11 @@
600600
},
601601
"煎蛋网 - 吐槽": {
602602
"host": "jandan.net",
603+
"url": "/^\\/(qa|pic|ooxx|treehole)/",
603604
"style": "#nav_prev, #nav_next, #tucao-gg {display: none !important;} .jandan-vote a.tucao-btn23:link {color: #c8c7cc !important;} .jandan-tucao {background-color: #fafaf9 !important;}",
604605
"pager": {
605606
"nextL": "a.previous-comment-page",
606-
"pageE": "ol.commentlist>li[id^='comment-'], script[src^='//cdn.jandan.net/static/min/']",
607+
"pageE": "ol.commentlist>li[id^='comment-'], head>script:not([src])",
607608
"replaceE": ".cp-pagenavi",
608609
"scriptT": 2
609610
},

0 commit comments

Comments
 (0)