mirror of
https://github.com/XIU2/UserScript.git
synced 2026-07-09 10:55:22 +00:00
新增 [果壳网] 支持; 优化 [音范丝] 规则
This commit is contained in:
+15
-1
@@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 自动无缝翻页
|
||||
// @version 2.4.1
|
||||
// @version 2.4.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之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、小众软件、极简插件、动漫狂、漫画猫、漫画DB、HiComic、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一部分,更多的写不下了...
|
||||
// @match *://*/*
|
||||
@@ -776,6 +776,16 @@
|
||||
scrollDelta: 1500
|
||||
}
|
||||
}, // 煎蛋网 - 大杂烩
|
||||
guokr: {
|
||||
SiteTypeID: 0,
|
||||
host: 'www.guokr.com',
|
||||
pager: {
|
||||
type: 2,
|
||||
nextLink: 'div[class*="LoadMoreWrap"]',
|
||||
intervals: 1500,
|
||||
scrollDelta: 1500
|
||||
}
|
||||
}, // 果壳网
|
||||
expreview: {
|
||||
SiteTypeID: 0,
|
||||
host: 'www.expreview.com',
|
||||
@@ -1295,6 +1305,7 @@
|
||||
yinfans: {
|
||||
SiteTypeID: 0,
|
||||
host: 'www.yinfans.net',
|
||||
functionStart: function() {curSite = DBSite.yinfans; document.lastElementChild.appendChild(document.createElement('style')).textContent = '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}';},
|
||||
pager: {
|
||||
type: 1,
|
||||
nextLink: 'css;a.next[href]',
|
||||
@@ -2892,12 +2903,14 @@
|
||||
document.body.appendChild(document.createElement('script')).textContent = 'commonui.topicArg.loadAll();';
|
||||
}
|
||||
|
||||
|
||||
// [V2EX] 的插入后函数(新标签页打开链接)
|
||||
function v2ex_functionAfter(css) {
|
||||
let links = document.querySelectorAll(css);if (!links) return
|
||||
links.forEach(function (_this) {_this.target = '_blank';});
|
||||
}
|
||||
|
||||
|
||||
// [龙的天空] 获取下一页地址
|
||||
function lkong_functionNext() {
|
||||
let next = document.querySelector('li.ant-pagination-next'), page;
|
||||
@@ -2914,6 +2927,7 @@
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
// [千图网] 的插入前函数(加载图片)
|
||||
function _58pic_functionBefore(pageElems) {
|
||||
let is_one = document.querySelector('.qtw-card.place-box.is-one');
|
||||
|
||||
Reference in New Issue
Block a user