mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-07 11:27:41 +00:00
新增 [无追搜索] 支持; 补充 [神马搜索] 其他域名; 优化 规则
This commit is contained in:
+5
-4
@@ -3,7 +3,7 @@
|
||||
// @name:zh-CN 自动无缝翻页
|
||||
// @name:zh-TW 自動無縫翻頁
|
||||
// @name:en AutoPager
|
||||
// @version 5.4.2
|
||||
// @version 5.4.3
|
||||
// @author X.I.U
|
||||
// @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
|
||||
// @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~
|
||||
@@ -295,6 +295,7 @@
|
||||
urlC: 对于使用 pjax 技术的网站,需要监听 URL 变化来重新判断翻页规则(需要放在 url: 中,自定义规则的话需要使用 fun.isUrlC())
|
||||
|
||||
forceTarget: 强制新标签页打开链接
|
||||
noReferer: 获取下一页内容时,不携带 Referer(部分网站携带与不携带可能不一样)
|
||||
hiddenPN: 不显示脚本左下角的页码
|
||||
history: 添加历史记录 并 修改当前 URL(默认开启,对于不支持的网站要设置为 false)
|
||||
thread: 对于社区类网站,要在 帖子内 的规则中加入这个,用于脚本的 [帖子内自动翻页] 功能(即用户可以选择开启/关闭所有社区类网站帖子内的自动翻页)
|
||||
@@ -2585,7 +2586,7 @@ function: {
|
||||
method: 'GET',
|
||||
overrideMimeType: 'text/html; charset=' + document.charset,
|
||||
headers: {
|
||||
'Referer': location.href,
|
||||
'Referer': (curSite.noReferer === true) ? '':location.href,
|
||||
'User-Agent': navigator.userAgent
|
||||
},
|
||||
timeout: 10000,
|
||||
@@ -2618,7 +2619,7 @@ function: {
|
||||
responseType: type,
|
||||
overrideMimeType: mimeType,
|
||||
headers: {
|
||||
'Referer': location.href,
|
||||
'Referer': (curSite.noReferer === true) ? '':location.href,
|
||||
'Content-Type': (method === 'POST') ? 'application/x-www-form-urlencoded':'',
|
||||
'User-Agent': navigator.userAgent
|
||||
},
|
||||
@@ -3313,7 +3314,7 @@ function: {
|
||||
},
|
||||
"这里也可以用中文": {
|
||||
"host": "/\\.ccc\\.com/",
|
||||
"url": "fun.UrlC(); return (fun.lp() == '/' || fun.indexOF('/s') || fun.isMobile())",
|
||||
"url": "fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/s') || fun.isMobile())",
|
||||
"pager": {
|
||||
"type": 2,
|
||||
"nextL": "#autopbn",
|
||||
|
||||
@@ -134,13 +134,27 @@
|
||||
}
|
||||
},
|
||||
"神马搜索": {
|
||||
"host": "m.sm.cn",
|
||||
"host": ["m.sm.cn","quark.sm.cn"],
|
||||
"url": "/^\\/s/",
|
||||
"pager": {
|
||||
"type": 2,
|
||||
"nextL": "#pager:not(.loading)"
|
||||
}
|
||||
},
|
||||
"无追搜索": {
|
||||
"host": "www.wuzhuiso.com",
|
||||
"url": "if (fun.isMobile()) {return}; fun.isUrlC(); return (fun.lp() == '/s' && !fun.indexOF('a=image','s'))",
|
||||
"style": ".so-lazyimg{opacity: 1 !important;} .result {border: none !important;}",
|
||||
"noReferer": true,
|
||||
"pager": {
|
||||
"nextL": "#snext",
|
||||
"pageE": ".result",
|
||||
"replaceE": "#page"
|
||||
},
|
||||
"function": {
|
||||
"bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])"
|
||||
}
|
||||
},
|
||||
"360 搜索": {
|
||||
"host": "www.so.com",
|
||||
"url": "/^\\/.+/",
|
||||
|
||||
Reference in New Issue
Block a user