新增 [BD 影视] 支持

This commit is contained in:
xiu2
2021-09-15 19:12:34 +08:00
parent 64b405cc40
commit 4a4c9eb366
+15 -3
View File
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
// @version 2.3.1
// @version 2.3.2
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有使用「Discuz!、Flarum、DUX(WordPress)」的网站]、百度、谷歌、必应、搜狗、头条、360、微信、贴吧、豆瓣、微博、NGA、V2EX、起点小说、煎蛋网、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、小霸王其乐无穷、CS.RIN.RU、FitGirl、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、真不卡影院、片库、音范丝、BT之家、爱恋动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、小众软件、极简插件、动漫狂、漫画猫、漫画DB、HiComic、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一部分,更多的写不下了...
// @match *://*/*
@@ -1228,6 +1228,17 @@
scrollDelta: 2000
}
}, // BT 之家
bdys: {
SiteTypeID: 0,
host: 'www.bd2020.com',
functionStart: function() {if (location.pathname != '/' && !(/\/\d+\.htm/.test(location.pathname))) {curSite = DBSite.bdys;}},
pager: {
type: 2,
nextLink: 'div.layui-flow-more > a',
nextText: '加载更多',
scrollDelta: 1000
}
}, // BD 影视
gaoqing_fm: {
SiteTypeID: 0,
host: 'gaoqing.fm',
@@ -1278,6 +1289,7 @@
rarbgprx: {
SiteTypeID: 0,
host: 'rarbgprx.org',
functionStart: function() {if (location.pathname === '/torrents.php') {curSite = DBSite.rarbgprx;}},
pager: {
type: 1,
nextLink: '(//a[@title="next page"])[1][@href]',
@@ -2005,7 +2017,7 @@
function: {
before: ioliu_functionBefore
}
}, // 必应壁纸
}, // 必应壁纸
github_star: {
SiteTypeID: 0,
host: 'github.com',
@@ -2787,7 +2799,7 @@
url += location.origin + location.pathname + '?' + nextNum;
}
}
console.log(url)
//console.log(url)
return url
}