From 03446bb13d053db6913f8bf7cf7bbbe92e3718ff Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 22 Nov 2021 23:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[Pixiv]=E3=80=81[W3school]?= =?UTF-8?q?=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 28c16cf..577e9c3 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 自动无缝翻页 -// @version 3.5.9 +// @version 3.6.0 // @author X.I.U // @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(以上仅一小部分,更多的写不下了... // @match *://*/* @@ -1329,6 +1329,7 @@ forceTarget(); } else if (indexOF('/tags/') && self == top) { curSite = DBSite.pixiv; + 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}');} } else if (indexOF('/users/') && /\/(artworks|illustrations|manga)/.test(location.pathname)) { curSite = DBSite.pixiv_user; } else if (indexOF('/artworks/')) { @@ -1337,7 +1338,6 @@ }, forceTarget: true, iframe: true, - insStyle: 'div[class*="-0 "] > div[class*="-4 "] > section:first-of-type {display: none}', pager: { type: 6, nextL: 'css;a[aria-disabled="false"][class*="filterProps-Styled-Component"][href]:last-child', @@ -4006,13 +4006,13 @@ if (next && next.href.indexOf('/index.') === -1) return next.href; curSite = {SiteTypeID: 0}; return '' }, - pageE: 'css;#maincontent > *:not(.prenextnav):not(#bpn):not(#tpn)', - insertP: ['id("bpn") | //div[@class="prenextnav"][last()]', 1], + pageE: 'css;#maincontent > *:not([class*="prenextnav"]):not(#bpn):not(#tpn)', + insertP: ['id("bpn") | //div[contains(@class, "prenextnav")][last()]', 1], replaceE: 'css;ul.prenext, #navsecond, title', - scrollE: 'id("bpn") | //div[@class="prenextnav"][last()]', + scrollE: 'id("bpn") | //div[contains(@class, "prenextnav")][last()]', history: true, forceHTTPS: true, - scrollD: 500 + scrollD: 600 } }, // W3school runoob: {