|
1 | 1 | // ==UserScript== |
2 | 2 | // @name 自动无缝翻页 |
3 | | -// @version 3.5.9 |
| 3 | +// @version 3.6.0 |
4 | 4 | // @author X.I.U |
5 | 5 | // @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、Pixiv、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、片库、茶杯狐、NO视频、低端影视、奈菲影视、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画 DB、动漫之家、拷贝漫画、包子漫画、古风漫画网、Mangabz、PubMed、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... |
6 | 6 | // @match *://*/* |
|
1329 | 1329 | forceTarget(); |
1330 | 1330 | } else if (indexOF('/tags/') && self == top) { |
1331 | 1331 | curSite = DBSite.pixiv; |
| 1332 | + if (indexOF('/novels')) {insStyle('ul[class*="-1 "] > li {display: inline !important;}')} else {insStyle('a[href^="/premium/lead/lp"], div[class*="-0 "] > div[class*="-4 "] > section:first-of-type {display: none}');} |
1332 | 1333 | } else if (indexOF('/users/') && /\/(artworks|illustrations|manga)/.test(location.pathname)) { |
1333 | 1334 | curSite = DBSite.pixiv_user; |
1334 | 1335 | } else if (indexOF('/artworks/')) { |
|
1337 | 1338 | }, |
1338 | 1339 | forceTarget: true, |
1339 | 1340 | iframe: true, |
1340 | | - insStyle: 'div[class*="-0 "] > div[class*="-4 "] > section:first-of-type {display: none}', |
1341 | 1341 | pager: { |
1342 | 1342 | type: 6, |
1343 | 1343 | nextL: 'css;a[aria-disabled="false"][class*="filterProps-Styled-Component"][href]:last-child', |
|
4006 | 4006 | if (next && next.href.indexOf('/index.') === -1) return next.href; |
4007 | 4007 | curSite = {SiteTypeID: 0}; return '' |
4008 | 4008 | }, |
4009 | | - pageE: 'css;#maincontent > *:not(.prenextnav):not(#bpn):not(#tpn)', |
4010 | | - insertP: ['id("bpn") | //div[@class="prenextnav"][last()]', 1], |
| 4009 | + pageE: 'css;#maincontent > *:not([class*="prenextnav"]):not(#bpn):not(#tpn)', |
| 4010 | + insertP: ['id("bpn") | //div[contains(@class, "prenextnav")][last()]', 1], |
4011 | 4011 | replaceE: 'css;ul.prenext, #navsecond, title', |
4012 | | - scrollE: 'id("bpn") | //div[@class="prenextnav"][last()]', |
| 4012 | + scrollE: 'id("bpn") | //div[contains(@class, "prenextnav")][last()]', |
4013 | 4013 | history: true, |
4014 | 4014 | forceHTTPS: true, |
4015 | | - scrollD: 500 |
| 4015 | + scrollD: 600 |
4016 | 4016 | } |
4017 | 4017 | }, // W3school |
4018 | 4018 | runoob: { |
|
0 commit comments