Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 19 additions & 46 deletions other/Autopage/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,43 +309,6 @@
"pageE": ".text-result, .image-wrapper"
}
},
"百度贴吧 - 搜索页": {
"host": "tieba.baidu.com",
"url": "/^\\/f\\/search\\/res/",
"pager": {
"nextL": "a.next",
"pageE": ".s_post_list > div",
"replaceE": ".pager"
}
},
"百度贴吧 - 帖子内": {
"host": ["tieba.baidu.com","jump2.bdimg.com"],
"url": "if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; return (fun.indexOF('/p/')) ",
"iframe": true,
"thread": true,
"style": ".d_sign_split,img.j_user_sign,.d_author .d_pb_icons,.save_face_bg,.save_face_bg_2,li.d_name a.icon_tbworld,.lzl_cnt a.icon_tbworld,.topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text,.red-text,.vip_red,.vip-red,.vip_red:hover,.vip-red:hover,.vip_red:visited,.vip-red:visited {color: #2d64b3 !important;}",
"pager": {
"type": 5,
"nextL": "//li[contains(@class,'pb_list_pager')]/a[text()='下一页']",
"style": "ul.tbui_aside_float_bar,.core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}"
}
},
"百度贴吧": {
"host": "tieba.baidu.com",
"url": "/^\\/f/",
"style": "img.j_retract {margin-top: 0 !important;margin-bottom: 0 !important;}",
"history": false,
"pager": {
"nextL": "js; if (fun.getCSS('a.next.pagination-item')) return (fun.getCSS('a.next.pagination-item').href + '&pagelets=frs-list%2Fpagelet%2Fthread&pagelets_stamp=' + new Date().getTime())",
"pageE": "//script[contains(text(),'Bigpipe.register(\"frs-list/pagelet/thread_list\", ')]",
"insertP": ["#thread_list",3],
"interval": 2000,
"scrollD": 3000
},
"function": {
"bF": "let scriptText = pageE[0].textContent.replace('Bigpipe.register(\"frs-list/pagelet/thread_list\", ',''); scriptText = scriptText.slice(0,scriptText.indexOf(').')); let temp = document.createElement('div'); temp.innerHTML = JSON.parse(scriptText).content; fun.getCSS('#frs_list_pager').innerHTML = fun.getCSS('#frs_list_pager',temp).innerHTML; return fun.src_bF(fun.getAllCSS('#thread_list>li',temp))"
}
},
"豆瓣": {
"host": "movie.douban.com",
"url": "/^\\/(explore|tv\\/)/",
Expand Down Expand Up @@ -2866,15 +2829,6 @@
"pageE": ".download>tbody>tr:not(:nth-last-child(-n+2))"
}
},
"Knaben": {
"host": "knaben.eu",
"url": "/^\\/(search|browse)\\//",
"blank": 3,
"pager": {
"nextL": "#nextPage",
"pageE": "tbody>tr"
}
},
"idope": {
"host": "/^idope\\..+/",
"url": "/^\\/torrent-list\\//",
Expand Down Expand Up @@ -2924,6 +2878,25 @@
"replaceE": ".search_stat"
}
},
"EXT Torrents": {
"host": "ext.to",
"url": "/^\\/browse\\//",
"blank": 3,
"pager": {
"nextL": ".pages>li.active+li>a",
"pageE": ".found-content-block table>tbody>tr",
"replaceE": ".pages"
}
},
"Knaben": {
"host": "knaben.org",
"url": "/^\\/(search|browse)\\//",
"pager": {
"nextL": "#nextPage",
"pageE": ".table.caption-top>tbody>tr",
"replaceE": ".pageNumbers"
}
},
"BTDig": {
"host": "btdig.com",
"url": "/^\\/search/",
Expand Down