mirror of
https://github.com/XIU2/UserScript.git
synced 2026-07-24 11:03:23 +00:00
优化 [百度贴吧 - 搜索页] 规则
This commit is contained in:
@@ -342,6 +342,15 @@
|
||||
"loadTime": 1000
|
||||
}
|
||||
},
|
||||
"百度贴吧 - 搜索页": {
|
||||
"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/')) ",
|
||||
@@ -370,15 +379,6 @@
|
||||
"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": "tieba.baidu.com",
|
||||
"url": "/^\\/f\\/search\\/res/",
|
||||
"pager": {
|
||||
"nextL": "a.next",
|
||||
"pageE": ".s_post_list > div",
|
||||
"replaceE": ".pager"
|
||||
}
|
||||
},
|
||||
"豆瓣 - 短评": {
|
||||
"host": "movie.douban.com",
|
||||
"url": "/^\\/subject\\/\\d+\\/comments/",
|
||||
|
||||
Reference in New Issue
Block a user