Skip to content

Commit b107139

Browse files
committed
移除 [百度贴吧] 相关规则(网站本身已支持无缝加载)
1 parent 4cc3c28 commit b107139

1 file changed

Lines changed: 0 additions & 37 deletions

File tree

other/Autopage/rules.json

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -309,43 +309,6 @@
309309
"pageE": ".text-result, .image-wrapper"
310310
}
311311
},
312-
"百度贴吧 - 搜索页": {
313-
"host": "tieba.baidu.com",
314-
"url": "/^\\/f\\/search\\/res/",
315-
"pager": {
316-
"nextL": "a.next",
317-
"pageE": ".s_post_list > div",
318-
"replaceE": ".pager"
319-
}
320-
},
321-
"百度贴吧 - 帖子内": {
322-
"host": ["tieba.baidu.com","jump2.bdimg.com"],
323-
"url": "if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; return (fun.indexOF('/p/')) ",
324-
"iframe": true,
325-
"thread": true,
326-
"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;}",
327-
"pager": {
328-
"type": 5,
329-
"nextL": "//li[contains(@class,'pb_list_pager')]/a[text()='下一页']",
330-
"style": "ul.tbui_aside_float_bar,.core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}"
331-
}
332-
},
333-
"百度贴吧": {
334-
"host": "tieba.baidu.com",
335-
"url": "/^\\/f/",
336-
"style": "img.j_retract {margin-top: 0 !important;margin-bottom: 0 !important;}",
337-
"history": false,
338-
"pager": {
339-
"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())",
340-
"pageE": "//script[contains(text(),'Bigpipe.register(\"frs-list/pagelet/thread_list\", ')]",
341-
"insertP": ["#thread_list",3],
342-
"interval": 2000,
343-
"scrollD": 3000
344-
},
345-
"function": {
346-
"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))"
347-
}
348-
},
349312
"豆瓣": {
350313
"host": "movie.douban.com",
351314
"url": "/^\\/(explore|tv\\/)/",

0 commit comments

Comments
 (0)