File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name 自动无缝翻页
3- // @version 2.3.0
3+ // @version 2.3.1
44// @author X.I.U
55// @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(以上仅一部分,更多的写不下了...
66// @match *://*/*
19901990 scrollDelta: 1000
19911991 }
19921992 }, // 彼岸图网
1993+ ioliu: {
1994+ SiteTypeID: 0,
1995+ host: 'bing.ioliu.cn',
1996+ functionStart: function() {if (location.pathname.indexOf('/photo/') === -1 && location.pathname.indexOf('.html') === -1) {curSite = DBSite.ioliu; document.head.appendChild(document.createElement('base')).target = '_blank';}},
1997+ pager: {
1998+ type: 1,
1999+ nextLink: '//div[@class="page"]/a[@href][contains(text(), "下一页")]',
2000+ pageElement: 'css;body > .container > div.item',
2001+ insertPosition: ['css;body > .container', 3],
2002+ replaceE: 'css;.page',
2003+ scrollDelta: 1000
2004+ },
2005+ function: {
2006+ before: ioliu_functionBefore
2007+ }
2008+ }, // 必应壁纸
19932009 github_star: {
19942010 SiteTypeID: 0,
19952011 host: 'github.com',
29412957 }
29422958
29432959
2960+ // [必应壁纸] 的插入前函数(加载图片)
2961+ function ioliu_functionBefore(pageElems) {
2962+ pageElems.forEach(function (one) {
2963+ let now = one.querySelector('img.progressive--not-loaded')
2964+ if (now) {
2965+ now.className = now.className.replace('progressive--not-loaded','progressive--is-loaded');
2966+ }
2967+ });
2968+ return pageElems
2969+ }
2970+
2971+
29442972 // [漫画狂] 获取下一页地址
29452973 function cartoonmad_functionNext() {
29462974 let nextXPAHT = '//a[@class="pages"][contains(text(),"下一頁")]',
You can’t perform that action at this time.
0 commit comments