Skip to content

Commit 5109d3f

Browse files
committed
更新 [煎蛋网] 规则(仅主页,其他页面无法支持,规则已移除)
1 parent 1817668 commit 5109d3f

1 file changed

Lines changed: 4 additions & 28 deletions

File tree

other/Autopage/rules.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -556,40 +556,16 @@
556556
"煎蛋网": {
557557
"host": "jandan.net",
558558
"url": "/^(\\/$|\\/page\\/)/",
559-
"style": "#nav_prev,#nav_next,.post.f:not(.list-post)",
560-
"history": false,
559+
"style": ".nav_prev,.nav_next,.post-item>.col-md-12,.post.f:not(.list-post)",
561560
"pager": {
562-
"nextL": "//div[@class='wp-pagenavi']/a[contains(text(),'下一页') or contains(text(),'更多文章')]",
563-
"pageE": "#content>.list-post",
564-
"replaceE": ".wp-pagenavi"
561+
"nextL": "//div[@class='page-navi']/a[contains(text(),'下一页') or contains(text(),'更多文章')]",
562+
"pageE": ".post-list>.post-item",
563+
"replaceE": ".page-navi"
565564
},
566565
"function": {
567566
"bF": "return fun.src_bF(pageE)"
568567
}
569568
},
570-
"煎蛋网 - 大杂烩": {
571-
"host": "jandan.net",
572-
"url": "/^\\/dzh$/",
573-
"pager": {
574-
"type": 2,
575-
"nextL": ".show_more",
576-
"interval": 1500
577-
}
578-
},
579-
"煎蛋网 - 吐槽": {
580-
"host": "jandan.net",
581-
"url": "/^\\/(qa|pic|ooxx|treehole)/",
582-
"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;}",
583-
"pager": {
584-
"nextL": "a.previous-comment-page",
585-
"pageE": "ol.commentlist>li[id^='comment-'],head>script:not([src])",
586-
"replaceE": ".cp-pagenavi",
587-
"scriptT": 2
588-
},
589-
"function": {
590-
"bF": "fun.getAllCSS('a.tucao-btn,a.comment-like.like,a.comment-unlike.unlike').forEach(function (now) {now.className = now.className.replace('tucao-btn','tucao-btn23').replace('comment-unlike','comment-unlike23').replace('comment-like','comment-like23');}); return pageE"
591-
}
592-
},
593569
"龙的天空": {
594570
"host": "www.lkong.com",
595571
"url": "fun.isUrlC(); return (fun.indexOF('/forum/'))",

0 commit comments

Comments
 (0)