From a1aa29218944a14d03c833bd6904c823259b1dbb Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 5 Feb 2022 12:09:17 +0800 Subject: [PATCH 0001/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=A4=A7?= =?UTF-8?q?=E9=87=8F=E8=A7=84=E5=88=99=20(=E5=85=B7=E4=BD=93=E8=A7=81=20#1?= =?UTF-8?q?17793)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 281 +++++++++++++++++++++++++++++------------------ 1 file changed, 175 insertions(+), 106 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index cf6567aeb..dfb0df9c1 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name 自动无缝翻页 -// @version 4.6.4 +// @version 4.6.5 // @author X.I.U -// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... +// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/* // @connect www.ykmh.com // @connect www.xuexiniu.com @@ -624,7 +624,7 @@ function: { retry: 1000, pager: { type: 6, - nextL: () => getNextP('css;.turn-page-num-wrap.selected', 'pageIndex=', /pageIndex=\d+/), + nextL: () => getNextEP('css;.turn-page-num-wrap.selected', 'pageIndex=', /pageIndex=\d+/), pageE: 'css;.organic-results > div', replaceE: 'css;.bottom-pagination', loadTime: 1000, @@ -1730,7 +1730,7 @@ function: { iframe: true, pager: { type: 5, - nextL: () => getNextP('css;li.active+li:not(.disabled) > a', 'page=', /page=\d+/), + nextL: () => getNextEP('css;li.active+li:not(.disabled) > a', 'page=', /page=\d+/), scrollD: 1000 } }, // iconfont @@ -1921,7 +1921,7 @@ function: { host: 'mod.3dmgame.com', pager: { type: 1, - nextL: () => getNextP('//li[@class="page-list active"]/following-sibling::li[contains(@class, "page-list")]/a', 'Page=', /Page=\d+/), + nextL: () => getNextEP('//li[@class="page-list active"]/following-sibling::li[contains(@class, "page-list")]/a', 'Page=', /Page=\d+/), pageE: '//div[contains(@class, "game-mod-list") or contains(@class, "search-mod-list")] | //script[not(@src or @type)][contains(text(), ".game-mod-page") or contains(text(), ".search-mod-page")]', insertP: ['//div[contains(@class, "game-mod-wrap") or contains(@class, "search-mod ")]', 3], scriptT: 2, @@ -2160,21 +2160,6 @@ function: { scrollD: 1000 } }, // B 站(Bilibili) - 搜索页 - 专栏 - pianku: { - host: /pianku/, - functionS: function() {if (location.pathname != '/') {curSite = DBSite.pianku;}}, - pager: { - type: 1, - nextL: 'css;a.a1', - pageE: 'css;.content-list > li', - replaceE: 'css;.pages', - scrollD: 1500 - }, - function: { - bF: src_bF, - pF: [0, 'img[data-src]', 'data-src'] - } - }, // 片库 cupfox: { host: 'www.cupfox.com', pager: { @@ -2256,9 +2241,9 @@ function: { pF: [0, 'img[data-src]', 'data-src'] } }, // 嗯哩嗯哩 - _91mjw: { - host: '91mjw.com', - functionS: function() {if (!indexOF('/video/') || !indexOF('/vplay/')) {curSite = DBSite._91mjw;}}, + mjw91: { + host: 'mjw91.com', + functionS: function() {if (!indexOF('/video/') || !indexOF('/vplay/')) {curSite = DBSite.mjw91;}}, pager: { type: 1, nextL: 'css;.next-page > a', @@ -2270,7 +2255,7 @@ function: { bF: src_bF, pF: [0, 'img[data-original]', 'data-original'] } - }, // 91 美剧网 + }, // 91 美剧网 zhenbuka: { host: ['www.zhenbuka3.com', 'www.zhenbuka5.com'], functionS: function() {if (indexOF('/vodtype/')) {curSite = DBSite.zhenbuka;}}, @@ -2411,7 +2396,7 @@ function: { } }, // 樱花动漫 - 搜索页等 agefans: { - host: /www\.agefans\./, + host: ['www.agemys.com', 'www.age.tv'], functionS: function() {if (indexOF('/catalog/') || lp == '/search') { curSite = DBSite.agefans; } else if (lp == '/recommend' || lp == '/update') { @@ -2505,7 +2490,7 @@ function: { } }, // Anime1 - 搜索页 yinfans: { - host: 'www.yinfans.net', + host: /www\.yinfans\./, insStyle: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}', pager: { type: 1, @@ -2556,7 +2541,7 @@ function: { } }, // YYDS 电影 kisssub: { - host: ['www.kisssub.org','www.comicat.org', 'share.acgnx.net'], + host: ['www.kisssub.org','www.comicat.org', /(share|www)\.acgnx\./], pager: { type: 1, nextL: 'css;a.nextprev:last-of-type', @@ -2588,8 +2573,19 @@ function: { scrollD: 1500 } }, // 扶她动漫 + acg_rip: { + host: 'acg.rip', + pager: { + type: 1, + nextL: 'css;li.next>a', + pageE: 'css;table.post-index > tbody > tr', + replaceE: 'css;ul.pagination', + scrollD: 1500 + } + }, // ACG.RIP bangumi: { host: 'bangumi.moe', + functionS: function() {if (indexOF('/lite')) {curSite = DBSite.bangumi_lite;} else {curSite = DBSite.bangumi;}}, pager: { type: 2, nextL: 'css;[torrent-list="lattorrents"] button[ng-click="loadMore()"] ,[torrent-list="torrents"] button[ng-click="loadMore()"]', @@ -2597,6 +2593,15 @@ function: { scrollD: 1500 } }, // 萌番组 + bangumi_lite: { + pager: { + type: 1, + nextL: '//section/a[./span[contains(@class, "next")]]', + pageE: 'css;li.torrent-li', + replaceE: 'css;.page-btn-section', + scrollD: 2000 + } + }, // 萌番组 lite miobt: { host: ['miobt.com', 'www.36dm.club'], functionS: function() {curSite = DBSite.miobt; if (location.hostname === 'www.36dm.club') {curSite.pager.scrollD = 1000;}}, @@ -2661,12 +2666,35 @@ function: { nextL: 'css;#pager_links > a[title="next page"]', pageE: 'css;table.lista2t tr.lista2', replaceE: 'css;#pager_links', - scrollD: 1000 + scrollD: 1200 }, function: { bF: rarbg_bF } }, // RARBG + _1337x: { + host: /1337x\./, + functionS: function() {if (indexOF('search/')) {curSite = DBSite._1337x;}}, + pager: { + type: 1, + nextL: '//div[@class="pagination"]//a[text()=">>"]', + pageE: 'css;table.table-list > tbody > tr', + replaceE: 'css;.pagination', + scrollD: 1200 + } + }, // 1337x + /*thepiratebay: { + host: 'thepiratebay.org', + functionS: function() {if (lp == '/search.php') {curSite = DBSite.thepiratebay;}}, + pager: { + type: 6, + nextL: 'css;center > b+a[href]', + pageE: 'css;ol#torrents > li[id]', + replaceE: 'css;center', + loadTime: 1000, + scrollD: 1500 + } + },*/ // thepiratebay subdh: { host: 'subdh.com', functionS: function() {if (lp == '/' || indexOF('/list/new')) {curSite = DBSite.subdh;} else if (indexOF('/search')) {curSite = DBSite.subdh_search;}}, @@ -2730,16 +2758,25 @@ function: { }, // A4k 字幕网(字幕) assrt: { host: 'assrt.net', - functionS: function() {if (location.pathname != '/') {curSite = DBSite.assrt;};}, + functionS: function() {if (location.pathname === '/sub/') {curSite = DBSite.assrt;} else if (indexOF('/list/')) {curSite = DBSite.assrt_list;}}, pager: { type: 1, - nextL: () => getNextP('css;#pl-current+a', 'page=', /page=\d+/), + nextL: () => getNextEP('css;#pl-current+a[href]:not([id])', 'page=', /page=\d+/), pageE: 'css;.resultcard > div:not(#top-banner):not(#bottom-banner):not(.pagelinkcard)', insertP: ['css;.pagelinkcard', 1], replaceE: 'css;.pagelinkcard', scrollD: 1000 } }, // 射手网(字幕) + assrt_list: { + pager: { + type: 1, + nextL: '//a[@id="pl-nav" and text()=">"]', + pageE: 'css;#resultsdiv > .subitem:not([id])', + replaceE: 'css;.pagelinkcard', + scrollD: 1000 + } + }, // 射手网(字幕) subhd: { host: 'subhd.tv', functionS: function() {if (lp == '/forum/forum') { @@ -3538,7 +3575,7 @@ function: { cocomanga_list: { pager: { type: 1, - nextL: () => getNextP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/), + nextL: () => getNextEP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/), pageE: 'css;ul.fed-list-info > li', replaceE: 'css;.fed-page-info', scrollD: 1000 @@ -3551,7 +3588,7 @@ function: { cocomanga_search: { pager: { type: 1, - nextL: () => getNextP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/), + nextL: () => getNextEP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/), pageE: 'css;dl.fed-deta-info', replaceE: 'css;.fed-page-info', scrollD: 1000 @@ -3893,21 +3930,12 @@ function: { functionS: function() {if (location.pathname != '/') {curSite = DBSite.extfans;}}, pager: { type: 1, - nextL: 'css;.page a[data-page="next"]', - pageE: 'css;.side-left > ul[class*="-list"] > li', - replaceE: 'css;.page', + nextL: 'css;a.page-next', + pageE: 'css;.app-item-content, .article-item-content', + replaceE: 'css;.pagination-content', scrollD: 2000 } }, // 扩展迷 - chrome_zzzmh: { - host: 'chrome.zzzmh.cn', - pager: { - type: 2, - nextL: 'css;button.more-btn', - interval: 1000, - scrollD: 1500 - } - }, // 极简插件 appinn: { host: 'www.appinn.com', pager: { @@ -3922,8 +3950,8 @@ function: { host: 'www.isharepc.com', pager: { type: 1, - nextL: 'css;a.next', - pageE: 'css;.content > div', + nextL: 'css;a.next.page-numbers', + pageE: 'css;.content > div.post', replaceE: 'css;nav.pagination', scrollD: 1000 } @@ -4165,12 +4193,12 @@ function: { }, // (下面这几个都是国外博客网站) winaero: { host: 'winaero.com', - functionS: function() {if (lp == '/blog/' || indexOF('/category/')) curSite = DBSite.winaero;}, + functionS: function() {if (lp == '/' || indexOF('/category/')) curSite = DBSite.winaero;}, pager: { type: 1, - nextL: 'css;.nav-previous > a', - pageE: 'css;#content > article', - replaceE: 'css;#nav-below', + nextL: 'css;a.next.page-numbers', + pageE: 'css;#main > article', + replaceE: 'css;.pagination', scrollD: 1500 } }, @@ -4215,7 +4243,7 @@ function: { pager: { type: 1, nextL: 'css;li.pagination-next > a', - pageE: 'css;#genesis-content > article', + pageE: 'css;#genesis-content > article.post', replaceE: 'css;.pagination', scrollD: 1500 } @@ -4269,7 +4297,7 @@ function: { functionS: function() {if (indexOF('/search/q') || indexOF('/paper/')) {curSite = DBSite.x_mol;}}, pager: { type: 1, - nextL: () => getNextP('css;.pagination li.active+li > a', 'pageIndex=', /pageIndex=\d+/), + nextL: () => getNextEP('css;.pagination li.active+li > a', 'pageIndex=', /pageIndex=\d+/), pageE: 'css;.magazine-senior-search-results-list > ul > li, .magazine-model-content-new > ul > li', insertP: ['css;.magazine-senior-search-results-list > ul, .magazine-model-content-new > ul', 3], replaceE: 'css;.pagination', @@ -4401,7 +4429,7 @@ function: { iframe: true, pager: { type: 5, - nextL: () => getNextP('css;.pager.active+span.pager', 'p=', /p=\d+/), + nextL: () => getNextEP('css;.pager.active+span.pager', 'p=', /p=\d+/), scrollD: 2000 } }, // 万方数据知识服务平台 @@ -4841,13 +4869,26 @@ function: { }, // 超能网 landian: { host: 'www.landian.vip', + functionS: function() {if (lp != '/' && !indexOF('/archives/') && !indexOF('/search/')) {curSite = DBSite.landian;}}, + insStyle: '.pagination {display: none !important;}', pager: { - type: 2, - nextL: 'css;.load-more > button', - nextText: '加载更多', - scrollD: 1300 + type: 1, + nextL: () => getNextUPN(/(?<=\/page\/)\d+/, /\/page\/\d+/, '/page/', '', '2', getCSS('.pagination > button.end').textContent), + pageE: 'css;.content li.color-border', + scrollD: 1500 } }, // 蓝点网 + kenengba: { + host: 'kenengba.com', + functionS: function() {if (lp == '/' || indexOF('/page/') || indexOF('/category/') || indexOF('/tag/')) {curSite = DBSite.kenengba;}}, + pager: { + type: 1, + nextL: '//div[@class="pagebar"]/a[@href and text()=">>"]', + pageE: 'css;article.post', + replaceE: 'css;.pagebar', + scrollD: 3000 + } + }, // 可能吧 ithome: { host: 'www.ithome.com', pager: { @@ -4929,7 +4970,7 @@ function: { insStyle: '.pager-wrap {display: none !important;}', pager: { type: 1, - nextL: () => getNextU('page=', /page=\d+/), + nextL: () => getNextUP('page=', /page=\d+/), pageE: 'css;#res_list > div', scrollD: 2000 } @@ -5036,7 +5077,7 @@ function: { }}, pager: { type: 1, - nextL: () => getNextU('currentPage=', /currentPage=\d+/, '/page', '2', getCSS('ul.pager').dataset.totalpage), + nextL: () => getNextUP('currentPage=', /currentPage=\d+/, '/page', '2', getCSS('ul.pager').dataset.totalpage), pageE: 'css;.document-piece', replaceE: 'css;ul.pager', scrollD: 1000 @@ -5045,7 +5086,7 @@ function: { bookmarkearth_search: { pager: { type: 1, - nextL: () => getNextP('css;a.cut-page-item.active+a.cut-page-item', 'currentPage=', /currentPage=\d+/), + nextL: () => getNextEP('css;a.cut-page-item.active+a.cut-page-item', 'currentPage=', /currentPage=\d+/), pageE: 'css;.document-piece', replaceE: 'css;.cut-page', scrollD: 1000 @@ -6948,43 +6989,29 @@ function: { // 遍历判断是否是某个已支持的网站,顺便直接赋值 let support = false; end: - for (let now in DBSite) { // 遍历对象 + for (let now in DBSite) { // 遍历 对象 if (!DBSite[now].host) continue; // 如果不存在则继续下一个循环 - if (Array.isArray(DBSite[now].host)) { // 如果是数组 - for (let i of DBSite[now].host) { // 遍历数组 - if (i === location.hostname) { // 如果找到匹配的 + // 如果是 数组 + if (Array.isArray(DBSite[now].host)) { + + for (let i of DBSite[now].host) { // 遍历 数组 + if ((i instanceof RegExp && i.test(location.hostname)) || (typeof i === 'string' && i === location.hostname)) { if (self != top) {if (!DBSite[now].iframe) break end;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行 - if (DBSite[now].functionS) { - DBSite[now].functionS(); - } else { - curSite = DBSite[now]; - } + if (DBSite[now].functionS) { DBSite[now].functionS(); } else { curSite = DBSite[now]; } support = true; break; // 如果找到了就退出循环 } } - } else if (DBSite[now].host instanceof RegExp) { // 如果是正则表达式 - if (DBSite[now].host.test(location.hostname)) { // 如果找到匹配的 - if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行 - if (DBSite[now].functionS) { - DBSite[now].functionS(); - } else { - curSite = DBSite[now]; - } - support = true; break; // 如果找到了就退出循环 - } - } else if (DBSite[now].host === location.hostname) { // 如果是普通字符串(找到匹配的) + // 如果是 正则 + } else if ((DBSite[now].host instanceof RegExp && DBSite[now].host.test(location.hostname)) || (typeof DBSite[now].host === 'string' && DBSite[now].host === location.hostname)) { if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行 - if (DBSite[now].functionS) { - DBSite[now].functionS(); - } else { - curSite = DBSite[now]; - } + if (DBSite[now].functionS) { DBSite[now].functionS(); } else { curSite = DBSite[now]; } support = true; break; // 如果找到了就退出循环 } + } if (support) { @@ -7283,10 +7310,25 @@ function: { }); return pageElems } - // 通用型获取下一页地址(URL 替换 page= 参数) - function getNextP(css, pf, reg) { - let nextNum = getOne(css); - var url = ''; + + // 通用型获取下一页地址(从 元素 中获取页码) + function getNextE(css) { + if (!css) css = curSite.pager.nextL; + let next = getOne(css) + if (next && next.nodeType === 1 && next.href && next.href.slice(0,4) === 'http' && next.href != curSite.pageUrl) { + if (curSite.pager.forceHTTPS && location.protocol === 'https:') { + curSite.pageUrl = next.href.replace(/^http:/,'https:'); + } else { + curSite.pageUrl = next.href; + } + //console.log(curSite.pageUrl) + return true + } + return false + } + // 通用型获取下一页地址(从 元素 中获取页码,URL 替换 page= 参数) + function getNextEP(css, pf, reg) { + let nextNum = getOne(css), url = ''; if (nextNum && nextNum.textContent) { nextNum = nextNum.textContent.replaceAll(' ',''); if (location.search) { @@ -7302,8 +7344,49 @@ function: { } return url } + // 通用型获取下一页地址(从 元素 中获取页码,URL 替换 pathname 路径) + function getNextEPN(css, reg, a, b = '') { + let nextNum = getOne(css), url = ''; + if (nextNum && nextNum.textContent) { + nextNum = nextNum.textContent.replaceAll(' ',''); + if (location.pathname) { + if (indexOF(reg)) { + url = location.pathname.replace(reg, a + nextNum + b); + } else { + url = location.pathname + a + nextNum + b; + } + } else { + url = location.pathname + a + nextNum + b; + } + url = location.origin + url; + } + return url + } + // 通用型获取下一页地址(从 URL 中获取页码,URL 替换 pathname 路径) + function getNextUPN(reg1, reg, a, b = '', initP = '2', endP) { + let nextNum = reg1.exec(location.pathname); + if (nextNum) { + nextNum = String(parseInt(nextNum[0])+1); + if (endP && (parseInt(nextNum[0]) > parseInt(endP))) return '' + } else { + nextNum = initP; + if (endP && (parseInt(nextNum[0]) >= parseInt(endP))) return '' + } + let url = ''; + if (location.pathname) { + if (indexOF(reg)) { + url = location.pathname.replace(reg, a + nextNum + b); + } else { + url = location.pathname + a + nextNum + b; + } + } else { + url = location.pathname + a + nextNum + b; + } + url = location.origin + url; + return url + } // 通用型获取下一页地址(从 URL 中获取页码,URL 替换 page= 参数) - function getNextU(pf, reg, lp = location.pathname, initP = '2', endP) { + function getNextUP(pf, reg, lp = location.pathname, initP = '2', endP) { let nextNum = getSearch(pf.replace('=','')); if (nextNum) { nextNum = String(parseInt(nextNum)+1); @@ -7312,7 +7395,7 @@ function: { nextNum = initP; if (endP && (parseInt(nextNum) >= parseInt(endP))) return '' } - var url = ''; + let url = ''; if (location.search) { if (indexOF(pf, 's')) { url = location.search.replace(reg, pf + nextNum); @@ -7325,21 +7408,7 @@ function: { url = location.origin + lp + url; return url } - // 通用型获取下一页地址(直接从元素获取) - function getNextE(css) { - if (!css) css = curSite.pager.nextL; - let next = getOne(css) - if (next && next.nodeType === 1 && next.href && next.href.slice(0,4) === 'http' && next.href != curSite.pageUrl) { - if (curSite.pager.forceHTTPS && location.protocol === 'https:') { - curSite.pageUrl = next.href.replace(/^http:/,'https:'); - } else { - curSite.pageUrl = next.href; - } - //console.log(curSite.pageUrl) - return true - } - return false - } + // 检查 URL function checkURL(func) { if (typeof curSite.pager.nextL == 'function') { From bbb410ebd59f963ab8d129019ce78e342f12d028 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 5 Feb 2022 12:55:07 +0800 Subject: [PATCH 0002/1437] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=BD=AE?= =?UTF-8?q?=E9=A1=B6=E6=98=BE=E7=A4=BA=E6=97=B6=E9=97=B4]=20=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=20(=E7=9F=AD=E5=9B=9E=E7=AD=94=E5=88=99=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E4=BF=9D=E7=95=99=E5=9B=9E=E7=AD=94=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 1893c6f8f..f50c9559b 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 知乎增强 -// @version 1.9.6 +// @version 1.9.7 // @author X.I.U // @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 // @match *://www.zhihu.com/* @@ -1292,6 +1292,8 @@ function topTime_publishTop(t, _this, _class) { if (!t.parentNode.classList.contains(_class)) { let temp_time = t.cloneNode(true); temp_time.style.padding = '0px'; + // 对于较短的回答,隐藏回答底部的时间 + if (_this.offsetHeight < 400) t.style.display = 'none'; _this.querySelector('.' + _class).insertAdjacentElement('beforeEnd', temp_time); } } From 0d19fbeaa7eca3383d43e1ee7e111851f9416170 Mon Sep 17 00:00:00 2001 From: Lemonawa <69106050+Lemonawa@users.noreply.github.com> Date: Sat, 5 Feb 2022 17:04:08 +0800 Subject: [PATCH 0003/1437] Update GithubEnhanced-High-Speed-Download.user.js (#169) --- GithubEnhanced-High-Speed-Download.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index fe28f417e..f3bc59408 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -64,7 +64,7 @@ ['https://cdn.staticaly.com/gh','日本 2', '注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], ['https://raw.fastgit.org','日本 3', '注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], ['https://cdn.jsdelivr.net/gh','美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://gcore.jsdelivr.net/gh','俄罗斯', '适用于 [电信用户],特别是北方。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] + ['https://gcore.jsdelivr.net/gh','香港', '适用于 [移动用户] 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] ], svg = [ '', From dbf9c36b0cf0022f2cbdf6498ba26074cab35b80 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 5 Feb 2022 17:08:31 +0800 Subject: [PATCH 0004/1437] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90=20Tips?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index f3bc59408..7295023a5 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Github 增强 - 高速下载 -// @version 1.7.9 +// @version 1.8.0 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @match *://github.com/* @@ -64,7 +64,7 @@ ['https://cdn.staticaly.com/gh','日本 2', '注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], ['https://raw.fastgit.org','日本 3', '注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], ['https://cdn.jsdelivr.net/gh','美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://gcore.jsdelivr.net/gh','香港', '适用于 [移动用户] 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] + ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] ], svg = [ '', From 5484f86767a0c08b3d68b7433de53c1e1bec0166 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 6 Feb 2022 09:38:44 +0800 Subject: [PATCH 0005/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 7295023a5..3b7bb2ab6 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Github 增强 - 高速下载 -// @version 1.8.0 +// @version 1.8.1 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @match *://github.com/* @@ -38,10 +38,11 @@ } const download_url = [ ['https://pd.zwc365.com/seturl/https://github.com', '美国 1'], - ['https://gh.xiu2.xyz/https://github.com', '美国 2'], + ['https://gh.xiu.workers.dev/https://github.com', '美国 2'], ['https://gh.api.99988866.xyz/https://github.com', '美国 3'], ['https://github.rc1844.workers.dev', '美国 4'], - ['https://git.yumenaka.net/https://github.com', '美国 5'], + ['https://gh.feizhuqwq.com/https://github.com', '美国 5'], + ['https://git.yumenaka.net/https://github.com', '美国 6'], ['https://download.fastgit.org', '日本'], ['https://ghproxy.com/https://github.com', '韩国'] //['https://ghproxy.fsou.cc/https://github.com', '香港'] From 71671ee8ded9a0e9f885575e119e0965b67e9aae Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 6 Feb 2022 14:05:03 +0800 Subject: [PATCH 0006/1437] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Steam=20?= =?UTF-8?q?=E7=A4=BE=E5=8C=BA=20-=20=E6=B4=BB=E5=8A=A8=E8=AF=84=E8=AE=BA]?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20[Steam=20?= =?UTF-8?q?=E5=88=9B=E6=84=8F=E5=B7=A5=E5=9D=8A]=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 | 273 +++++++++++++++++++++++++---------------------- 1 file changed, 147 insertions(+), 126 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index dfb0df9c1..1396d2e9b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 自动无缝翻页 -// @version 4.6.5 +// @version 4.6.6 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/* @@ -80,9 +80,9 @@ functionS: 匹配该网站域名时要执行的函数(一般用于根据 URL 分配相应翻页规则) locationC: 对于使用 pjax 技术的网站,需要监听 URL 变化来重新判断翻页规则(需要放在 functionS 中) - insStyle: 要插入网页的 CSS Style 样式 hiddenPN: 不显示脚本左下角的页码 history: 添加历史记录 并 修改当前 URL(默认开启,对于不支持的网站要设置为 false) + style: 要插入网页的 CSS Style 样式 retry: 允许获取失败后重试 pager: { @@ -104,7 +104,7 @@ pager: { insertE: 用来插入元素的函数 5 = 插入 iframe 方式来加载下一页,无限套娃(适用于:部分动态加载内容的网站,需要允许 iframe 且支持通过 GET/POST 直接打开下一页) - insStyle: 加载 iframe 前要插入的 CSS Style 样式(比如为了悬浮的样式与下一页的重叠,隐藏网页底部间距提高阅读连续性) + style: 加载 iframe 前要插入的 CSS Style 样式(比如为了悬浮的样式与下一页的重叠,隐藏网页底部间距提高阅读连续性) iframe: 这个必须加到 pager{} 外面(这样才会在该域名的 iframe 框架下运行脚本) forceTarget: 强制新标签页打开链接(适用于一些使用 pjax 技术的链接) @@ -173,7 +173,7 @@ function: { } }, // Discuz! 论坛 - 图片模式的帖子列表(不带无缝加载下一页按钮的) discuz_thread: { - insStyle: '.pgbtn {display: none;}', + style: '.pgbtn {display: none;}', pager: { type: 1, nextL: 'css;a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])', @@ -366,7 +366,7 @@ function: { }, // WordPress 的 Begin 主题 - 搜索页 biquge: { functionS: function() {if (indexOF(/\d+\/\d+\.html/)) {curSite = DBSite.biquge;}}, - insStyle: 'img, .posterror {display: none !important;}', + style: 'img, .posterror {display: none !important;}', pager: { type: 1, nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]', @@ -380,7 +380,7 @@ function: { baidu: { host: 'www.baidu.com', functionS: function() {locationC = true; if (lp == '/s') {curSite = DBSite.baidu;} else if (location.pathname.slice(location.pathname.length - 2,location.pathname.length) == '/s') {location.hostname = 'm.baidu.com';}}, - insStyle: '.new-pmd .c-img-border {position: initial !important;} .op-bk-polysemy-video__wrap.c-gap-bottom {display: none !important;}', + style: '.new-pmd .c-img-border {position: initial !important;} .op-bk-polysemy-video__wrap.c-gap-bottom {display: none !important;}', pager: { type: 1, nextL: 'id("page")//a[contains(text(),"下一页")]', @@ -392,7 +392,7 @@ function: { baidu_m: { host: 'm.baidu.com', functionS: function() {if (location.pathname.slice(location.pathname.length - 2,location.pathname.length) == '/s') curSite = DBSite.baidu_m;}, - insStyle: 'div.result[tpl="recommend_list"], #page-copyright {display: none !important;}', + style: 'div.result[tpl="recommend_list"], #page-copyright {display: none !important;}', pager: { type: 1, nextL: 'css;a[class^="new-nextpage"]', @@ -429,7 +429,7 @@ function: { } else if (lp == '/academic/search') { curSite = DBSite.bing_academic; }}, - insStyle: '.b_imagePair.square_mp > .inner {display: none !important;}', + style: '.b_imagePair.square_mp > .inner {display: none !important;}', pager: { type: 1, nextL: 'css;a.sb_pagN, a.sb_halfnext, a.sb_fullnpl', @@ -601,7 +601,7 @@ function: { ask: { host: ['ask.com', 'www.ask.com'], functionS: function() {if (lp == '/web') {curSite = DBSite.ask;}}, - insStyle: '.PartialSearchResults-heading {display: none !important;}', + style: '.PartialSearchResults-heading {display: none !important;}', pager: { type: 1, nextL: 'css;li.PartialWebPagination-next > a', @@ -649,7 +649,7 @@ function: { } else if (lp == '/f/search/res') { curSite = DBSite.baidu_tieba_search; }}, - insStyle: 'img.j_retract {margin-top: 0 !important;margin-bottom: 0 !important;}', // 修复帖子列表中预览图片,在切换下一个/上一个图片时,多出来的图片上下边距 + style: 'img.j_retract {margin-top: 0 !important;margin-bottom: 0 !important;}', // 修复帖子列表中预览图片,在切换下一个/上一个图片时,多出来的图片上下边距 history: false, iframe: true, pager: { @@ -669,11 +669,11 @@ function: { }, // 百度贴吧 - 帖子列表 baidu_tieba_post: { forceTarget: true, - insStyle: '.d_sign_split, img.j_user_sign, .d_author .d_pb_icons, .save_face_bg, .save_face_bg_2, li.d_name a.icon_tbworld, .lzl_cnt a.icon_tbworld, .topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text, .red-text, .vip_red, .vip-red, .vip_red:hover, .vip-red:hover, .vip_red:visited, .vip-red:visited {color: #2d64b3 !important;}', // 签名、印记、头像边框、VIP 元素 + style: '.d_sign_split, img.j_user_sign, .d_author .d_pb_icons, .save_face_bg, .save_face_bg_2, li.d_name a.icon_tbworld, .lzl_cnt a.icon_tbworld, .topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text, .red-text, .vip_red, .vip-red, .vip_red:hover, .vip-red:hover, .vip_red:visited, .vip-red:visited {color: #2d64b3 !important;}', // 签名、印记、头像边框、VIP 元素 pager: { type: 5, nextL: '//li[contains(@class,"pb_list_pager")]/a[text()="下一页"]', - insStyle: 'ul.tbui_aside_float_bar, .core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}', + style: 'ul.tbui_aside_float_bar, .core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}', scrollD: 1500 } }, // 百度贴吧 - 帖子内 @@ -973,7 +973,7 @@ function: { } else { curSite = DBSite.jandan_comment; }}, - insStyle: '#nav_prev, #nav_next, .post.f:not(.list-post) {display: none !important;}', + style: '#nav_prev, #nav_next, .post.f:not(.list-post) {display: none !important;}', history: false, pager: { type: 1, @@ -988,7 +988,7 @@ function: { } }, // 煎蛋网 jandan_comment: { - insStyle: '#nav_prev, #nav_next {display: none !important;}', + style: '#nav_prev, #nav_next {display: none !important;}', pager: { type: 1, nextL: 'css;a.previous-comment-page', @@ -1177,7 +1177,7 @@ function: { } else if (lp == '/facade.php') { curSite = DBSite.libaclub_search; }}, - insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', + style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', pager: { type: 1, nextL: '//div[@class="ui-crumbs-more"]/a[@class="fn-link"][1]', @@ -1187,7 +1187,7 @@ function: { } }, // 篱笆网论坛 libaclub_f: { - insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', + style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', pager: { type: 1, nextL: 'css;a.ui-paging-next', @@ -1197,7 +1197,7 @@ function: { } }, // 篱笆网论坛 - 各版块帖子列表 libaclub_t: { - insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', + style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', pager: { type: 1, nextL: 'css;a.ui-paging-next', @@ -1208,7 +1208,7 @@ function: { } }, // 篱笆网论坛 - 帖子内 libaclub_prt: { - insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', + style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', pager: { type: 1, nextL: 'css;a.ui-paging-next', @@ -1218,7 +1218,7 @@ function: { } }, // 篱笆网论坛 - 帖子内 - 打印版 libaclub_search: { - insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', + style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}', pager: { type: 1, nextL: '//div[@class="ui-page"]/a[contains(text(), "下一页")]', @@ -1384,7 +1384,7 @@ function: { } }, // 中国香港社区 discusshk_thread: { - insStyle: '.viewthread.mt-0:not(:first-of-type) .viewthread__head {display: none !important;}', + style: '.viewthread.mt-0:not(:first-of-type) .viewthread__head {display: none !important;}', pager: { type: 1, nextL: 'css;.pagination a.next', @@ -1405,7 +1405,7 @@ function: { } }, // TGFC Lifestyle tgfcer_thread: { - insStyle: '.viewthread:not(:first-of-type) h1 {display: none !important;}', + style: '.viewthread:not(:first-of-type) h1 {display: none !important;}', pager: { type: 1, nextL: 'css;.pages a.next', @@ -1420,7 +1420,7 @@ function: { if (lp == '/thread.php' || lp == '/search.php') { curSite = DBSite.south; } else if (lp == '/thread_new.php') { - curSite = DBSite.south; curSite.pager.pageE = 'css;li.dcsns-li'; curSite.pager.scrollD = 2000; curSite.function = {bF: src_bF,pF: [0, 'img[data-original]', 'data-original']}; curSite.insStyle = 'img.lazy {display: inline !important;}'; + curSite = DBSite.south; curSite.pager.pageE = 'css;li.dcsns-li'; curSite.pager.scrollD = 2000; curSite.function = {bF: src_bF,pF: [0, 'img[data-original]', 'data-original']}; curSite.style = 'img.lazy {display: inline !important;}'; } else if (GM_getValue('menu_thread') && lp == '/read.php') { curSite = DBSite.south; curSite.pager.pageE = 'css;form[name=delatc] > *:not(input)'; } else if (lp == '/u.php' && (indexOF('action-topic-', 's') || indexOF('action-post-', 's'))) { @@ -1503,7 +1503,7 @@ function: { } }, forceTarget: true, - insStyle: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -175px;} ul > li > button[class^="sc-"], a[href^="/premium/lead/lp"] {display: none !important;}', + style: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -175px;} ul > li > button[class^="sc-"], a[href^="/premium/lead/lp"] {display: none !important;}', iframe: true, pager: { type: 5, @@ -1516,7 +1516,7 @@ function: { }, // Pixiv - 分类页 pixiv_user: { forceTarget: true, - insStyle: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -125px;} ul > li > button[class^="sc-"][style="background-color: rgb(0, 0, 0);"], a[href^="/premium/lead/lp"] {display: none !important;}', + style: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -125px;} ul > li > button[class^="sc-"][style="background-color: rgb(0, 0, 0);"], a[href^="/premium/lead/lp"] {display: none !important;}', pager: { type: 5, nextL: 'css;a[aria-disabled="false"][class*="filterProps-Styled-Component"][href]:last-child', @@ -1559,7 +1559,7 @@ function: { } else if (indexOF('/c/')) { curSite = DBSite._58pic_c; }}, - insStyle: '.qtw-card.place-box, .card-lazy, .is-line .is-back {display: none !important;}', + style: '.qtw-card.place-box, .card-lazy, .is-line .is-back {display: none !important;}', pager: { type: 1, nextL: '//div[contains(@class,"page-box")]//a[text()="下一页"]', @@ -1587,7 +1587,7 @@ function: { }, // 千图网 - 专题/收藏夹 _588ku: { host: '588ku.com', - insStyle: '.listlogin-box.listloginBox, .CLdialogV1, .editIndexEntry, .globalRSideB {display: none !important;}', + style: '.listlogin-box.listloginBox, .CLdialogV1, .editIndexEntry, .globalRSideB {display: none !important;}', pager: { type: 1, nextL: '//ul[contains(@class, "page-list")]//a[text()="下一页"]', @@ -1603,7 +1603,7 @@ function: { }, // 千库网 nipic: { host: ['www.nipic.com', 'soso.nipic.com'], - insStyle: 'li.search-works-item {display: none !important;}', + style: 'li.search-works-item {display: none !important;}', pager: { type: 1, nextL: '//a[@title="下一页" or text()="下一页"][not(contains(@class, "search-works-nextpage"))]', @@ -1634,7 +1634,7 @@ function: { ooopic: { host: ['www.ooopic.com', 'so.ooopic.com', 'weili.ooopic.com'], functionS: function() {if (lp != '/' && !indexOF('/weili_')) {curSite = DBSite.ooopic;}}, - insStyle: '.overWidth.clearfix.masonry {height: auto !important;} .pic-list, .video-list {position: relative !important;float: left !important;top: auto !important;left: auto !important;}', + style: '.overWidth.clearfix.masonry {height: auto !important;} .pic-list, .video-list {position: relative !important;float: left !important;top: auto !important;left: auto !important;}', pager: { type: 1, nextL: 'css;a.next_page, a.so-next', @@ -1650,7 +1650,7 @@ function: { ibaotu: { host: 'ibaotu.com', functionS: function() {if (lp != '/' && !indexOF('/sucai/')) {curSite = DBSite.ibaotu;if (indexOF('/yinxiao') || indexOF('/peiyue')) {curSite.pager.pageE = 'css;ul.media-list-ul > li[pr-data-title]'} else if (indexOF('/font/')) {curSite.pager.pageE = 'css;.baotufonts-list > a'}}}, - insStyle: '.searchAdver {display: none !important;}', + style: '.searchAdver {display: none !important;}', pager: { type: 1, nextL: 'css;a.next', @@ -1726,7 +1726,7 @@ function: { host: 'www.iconfont.cn', functionS: function() {locationC = true; if (indexOF('/search/')) curSite = DBSite.iconfont;}, forceTarget: true, - insStyle: '.footer, header .bind-tips, .block-pagination-wrap {display: none !important;}', + style: '.footer, header .bind-tips, .block-pagination-wrap {display: none !important;}', iframe: true, pager: { type: 5, @@ -1838,7 +1838,7 @@ function: { xiadele: { host: ['www.xiadele.com', 'search.xiadele.com'], functionS: function() {if (location.pathname != '/') {curSite = DBSite.xiadele;}}, - insStyle: '.last-li-carousel-img {display: none !important;}', + style: '.last-li-carousel-img {display: none !important;}', pager: { type: 1, nextL: 'css;li.next_page a[rel="next"]', @@ -1957,7 +1957,7 @@ function: { }, // 游侠网 - 分类页 ali213_gl: { host: 'gl.ali213.net', - insStyle: '.n_show_b {display: none !important;}', + style: '.n_show_b {display: none !important;}', pager: { type: 3, nextL: 'css;a.next', @@ -1970,7 +1970,7 @@ function: { }, // 游侠网 - 攻略 ali213_pic: { host: 'pic.ali213.net', - insStyle: 'a.prev, a.next {display: none !important;}', + style: 'a.prev, a.next {display: none !important;}', pager: { type: 1, nextL: 'css;a.next', @@ -2031,18 +2031,29 @@ function: { scrollD: 2500 } }, // CurseForge - steamcommunity: { + steamcommunity_workshop: { host: 'steamcommunity.com', - functionS: function() {if (indexOF('/workshop/browse')) {curSite = DBSite.steamcommunity;}}, + functionS: function() {if (indexOF('/workshop/browse')) {curSite = DBSite.steamcommunity_workshop;} else if (indexOF(/eventcomments\/\d/)) {curSite = DBSite.steamcommunity_eventcomments;}}, pager: { type: 1, - nextL: '//a[@class="pagebtn"][last()]', + nextL: '//a[@class="pagebtn" and text()=">"]', pageE: 'css;.workshopBrowseItems > *', replaceE: 'css;.workshopBrowsePaging', scriptT: 2, scrollD: 1500 } - }, // Steam 创意工坊 - 项目列表 + }, // Steam 创意工坊 - 项目列表 + steamcommunity_eventcomments: { + style: '.forum_paging_controls {display: none !important;}', + pager: { + type: 1, + nextL: () => getNextUP('ctp=', /ctp=\d+/, location.pathname, '2', getCSS('span.commentthread_pagelinks > a:last-child').textContent), + pageE: 'css;.commentthread_comments > .commentthread_comment', + replaceE: 'css;.forum_paging .forum_paging_summary', + scriptT: 1, + scrollD: 1500 + } + }, // Steam 社区 - 活动评论 yikm: { host: 'www.yikm.net', pager: { @@ -2105,7 +2116,7 @@ function: { }, // cs.rin.ru - 搜索页 crackhub: { host: 'crackhub.site', - insStyle: 'html.wp-dark-mode-active .inside-article {background-color: var(--wp-dark-mode-bg);}', + style: 'html.wp-dark-mode-active .inside-article {background-color: var(--wp-dark-mode-bg);}', pager: { type: 1, nextL: 'css;a.next.page-numbers', @@ -2213,7 +2224,7 @@ function: { zxzj: { host: ['www.zxzj.me', 'www.zxzj.fun'], functionS: function() {if (location.pathname != '/' && !indexOF('/detail/') && !indexOF('/video/')) {curSite = DBSite.zxzj;}}, - insStyle: 'div.stui-page__all {display: none !important;}', + style: 'div.stui-page__all {display: none !important;}', pager: { type: 1, nextL: '//ul[contains(@class, "stui-page__item")]//a[text()="下一页"]', @@ -2491,7 +2502,7 @@ function: { }, // Anime1 - 搜索页 yinfans: { host: /www\.yinfans\./, - insStyle: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}', + style: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}', pager: { type: 1, nextL: 'css;a.next', @@ -2657,10 +2668,21 @@ function: { scrollD: 900 } }, // SkrBT + _1337x: { + host: /1337x\./, + functionS: function() {if (indexOF('search/')) {curSite = DBSite._1337x;}}, + pager: { + type: 1, + nextL: '//div[@class="pagination"]//a[text()=">>"]', + pageE: 'css;table.table-list > tbody > tr', + replaceE: 'css;.pagination', + scrollD: 1200 + } + }, // 1337x rarbg: { host: /rarbg/, functionS: function() {if (lp == '/torrents.php') {curSite = DBSite.rarbg; rarbg_bF(getAllCSS('table.lista2t tr.lista2'));}}, - insStyle: 'html::-webkit-scrollbar {height: 0 !important;}', + style: 'html::-webkit-scrollbar {height: 0 !important;}', pager: { type: 1, nextL: 'css;#pager_links > a[title="next page"]', @@ -2672,17 +2694,6 @@ function: { bF: rarbg_bF } }, // RARBG - _1337x: { - host: /1337x\./, - functionS: function() {if (indexOF('search/')) {curSite = DBSite._1337x;}}, - pager: { - type: 1, - nextL: '//div[@class="pagination"]//a[text()=">>"]', - pageE: 'css;table.table-list > tbody > tr', - replaceE: 'css;.pagination', - scrollD: 1200 - } - }, // 1337x /*thepiratebay: { host: 'thepiratebay.org', functionS: function() {if (lp == '/search.php') {curSite = DBSite.thepiratebay;}}, @@ -2733,7 +2744,7 @@ function: { curSite = DBSite.bthaha; getAllCSS('[id^="list_top"], [id^="list_bottom"]').forEach(function (one) {one.parentElement.parentElement.hidden = true;}); }}, - insStyle: '[id^="list_top"], [id^="list_bottom"] {display: none !important;}', + style: '[id^="list_top"], [id^="list_bottom"] {display: none !important;}', pager: { type: 1, nextL: '//ul[@class="pagination"]/li/a[contains(text(), "下一页")]', @@ -2823,7 +2834,7 @@ function: { } else if (indexOF('/category/') || indexOF('/search')) { curSite = DBSite.haoman_list; }}, - insStyle: '.rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic > img {margin: 0 auto;display: block;height: auto;min-height: 200px;}', + style: '.rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic > img {margin: 0 auto;display: block;height: auto;min-height: 200px;}', pager: { type: 1, nextL: function() {if (getCSS('a.rd-aside__item.j-rd-next')) return location.origin + getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href')}, @@ -2858,7 +2869,7 @@ function: { } else if (location.pathname != '/') { curSite = DBSite.cartoonmad_list; }}, - insStyle: 'body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:not(:first-child) {display: none !important;} body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img {max-width: 100%;height: auto;display: block !important;margin: 0 auto !important;}', + style: 'body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:not(:first-child) {display: none !important;} body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img {max-width: 100%;height: auto;display: block !important;margin: 0 auto !important;}', pager: { type: 1, nextL: cartoonmad_nextL, @@ -2886,7 +2897,7 @@ function: { } else if (indexOF('/manhua/')) { curSite = DBSite.dongman_list; }}, - insStyle: 'button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}', + style: 'button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}', pager: { type: 1, nextL: '//footer//a[./label[text()="下一章"]]', @@ -2923,7 +2934,7 @@ function: { } else if (indexOF('/search') || indexOF('/update')) { curSite = DBSite.manhuacat_search; }}, - insStyle: '#left, #right, #pull-load, .loading, .pagination, footer {display: none !important;} .img-content > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏不需要的元素,调整图片 + style: '#left, #right, #pull-load, .loading, .pagination, footer {display: none !important;} .img-content > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏不需要的元素,调整图片 pager: { type: 4, nextL: manhuacat_nextL, @@ -3026,7 +3037,7 @@ function: { curSite = DBSite.imanhuaw; imanhuaw_init(); } }, - insStyle: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;}', + style: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;}', pager: { type: 4, nextL: imanhuaw_nextL, @@ -3056,7 +3067,7 @@ function: { } else if (indexOF('list/') || indexOF('/s/')) { curSite = DBSite.manhuagui_list; }}, - insStyle: '.sub-btn, .tc {display: none !important;} #mangaBox > img {width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 100% !important;}', + style: '.sub-btn, .tc {display: none !important;} #mangaBox > img {width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 100% !important;}', pager: { type: 4, nextL: manhuagui_nextL, @@ -3093,7 +3104,7 @@ function: { } else if (indexOF('/search') || indexOF('/update')) { curSite = DBSite.manhuacat_search; }}, - insStyle: '.row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;}', + style: '.row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;}', pager: { type: 4, nextL: manhuadb_nextL, @@ -3110,7 +3121,7 @@ function: { setTimeout(hicomic_init, 100); curSite = DBSite.hicomic; }}, - insStyle: '.content {height: auto !important;} .footer, .left_cursor, .right_cursor, .finish {display: none !important;} .content > img {display: block !important;margin: 0 auto !important;}', + style: '.content {height: auto !important;} .footer, .left_cursor, .right_cursor, .finish {display: none !important;} .content > img {display: block !important;margin: 0 auto !important;}', pager: { type: 4, nextL: hicomic_nextL, @@ -3134,7 +3145,7 @@ function: { } else if (indexOF('/rank')) { curSite = DBSite.dmzj_rank; }}, - insStyle: 'p.mh_curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} .comic_wraCon > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息 + style: 'p.mh_curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} .comic_wraCon > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息 pager: { type: 4, nextL: 'css;span.next > a', @@ -3146,7 +3157,7 @@ function: { } }, // 动漫之家 - 原创 dmzj_list: { - insStyle: '.wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}', + style: '.wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}', pager: { type: 1, nextL: 'css;a.pg_next', @@ -3156,7 +3167,7 @@ function: { } }, // 动漫之家 - 原创 - 分类页 dmzj_rank: { - insStyle: '.wrap_mhlist_l.con_left {height: auto!important;}', + style: '.wrap_mhlist_l.con_left {height: auto!important;}', pager: { type: 1, nextL: 'css;a.pg_next', @@ -3172,10 +3183,12 @@ function: { if (chapterScroll && chapterScroll.textContent === '切换到上下滚动阅读') {chapterScroll.click();} setTimeout(function() {dmzj_init('#center_box > .inner_img img[src]')}, 100); curSite = DBSite.dmzj_manhua; + } else if (indexOF('/tags/')) { + curSite = DBSite.dmzj_manhua_list; } else if (indexOF('/update')) { curSite = DBSite.dmzj_manhua_update; }}, - insStyle: 'p.curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} #center_box > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息 + style: 'p.curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} #center_box > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息 pager: { type: 4, nextL: 'css;#next_chapter', @@ -3186,6 +3199,14 @@ function: { scrollD: 3000 } }, // 动漫之家 - 日漫 + dmzj_manhua_list: { + pager: { + type: 1, + nextL: () => getNextUPN(/(?<=-)\d+(?=\.shtml)/, /-\d+\.shtml/, '-', '.shtml', '2', getCSS('#topage > option:last-child').value), + pageE: 'css;#search_list_div ul', + scrollD: 1500 + } + }, // 蓝点网 dmzj_manhua_update: { pager: { type: 1, @@ -3205,7 +3226,7 @@ function: { curSite = DBSite.acgn_list; } }, - insStyle: '.img1 {cursor: initial !important;}', + style: '.img1 {cursor: initial !important;}', pager: { type: 1, nextL: 'css;#next_chapter', @@ -3240,7 +3261,7 @@ function: { } else if (indexOF('/list') || indexOF('/search')) { curSite = DBSite.ykmh_list; }}, - insStyle: 'p.img_info {display: none !important;} #images > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', + style: 'p.img_info {display: none !important;} #images > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', pager: { type: 4, nextL: ykmh_nextL, @@ -3267,12 +3288,12 @@ function: { } else if (indexOF('/comics')) { curSite = DBSite.copymanga_list; }}, - insStyle: '.upMember, .comicContainerAds, .footer {display: none !important;} body, html {height: auto !important;}', + style: '.upMember, .comicContainerAds, .footer {display: none !important;} body, html {height: auto !important;}', iframe: true, pager: { type: 5, nextL: 'css;.comicContent-next > a', - insStyle: 'h4.header, h4.header +div[style*="fixed"] {display: none !important;}', + style: 'h4.header, h4.header +div[style*="fixed"] {display: none !important;}', scrollD: 3000 } }, // 拷贝漫画 @@ -3298,7 +3319,7 @@ function: { } else if (indexOF(/\/(sort|rank)\//)) { // 分类页 curSite = DBSite.mhxqiu_list; }}, - insStyle: '.imgFloat_1, .imgFloat_2, .main_control, span.comic-ft {display: none !important;} html, body, #mainView {height: auto !important;} body.view .main ul.comic-contain li{margin:0 auto !important;} .comic-contain .loaded{box-shadow: none !important;}', + style: '.imgFloat_1, .imgFloat_2, .main_control, span.comic-ft {display: none !important;} html, body, #mainView {height: auto !important;} body.view .main ul.comic-contain li{margin:0 auto !important;} .comic-contain .loaded{box-shadow: none !important;}', pager: { type: 4, nextL: 'css;#mainControlNext', @@ -3321,7 +3342,7 @@ function: { fffdm: { host: 'manhua.fffdm.com', functionS: function() {if (location.pathname.split('/').length === 4) {curSite = DBSite.fffdm;}}, - insStyle: '#footer, #header {display: none !important;} #mhimg0 img {display: block !important;margin: 0 auto !important;}', + style: '#footer, #header {display: none !important;} #mhimg0 img {display: block !important;margin: 0 auto !important;}', pager: { type: 4, nextL: '//a[contains(text(), "下一页") or contains(text(), "下一頁") or contains(text(), "下一话") or contains(text(), "下一話")]', @@ -3339,7 +3360,7 @@ function: { } else if (indexOF('/comic/')) { if (getCSS('#button_show_all_chatper')) getCSS('#button_show_all_chatper').click(); }}, - insStyle: '#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}', + style: '#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}', pager: { type: 1, nextL: 'css;.next_chapter > a', @@ -3358,7 +3379,7 @@ function: { } else { curSite = DBSite.leyuman_list; }}, - insStyle: '.mh_select, .mh_comicpic > p, mh_headpager {display: none !important;} .mh_comicpic > img{width: 100% !important; height: auto !important;}', + style: '.mh_select, .mh_comicpic > p, mh_headpager {display: none !important;} .mh_comicpic > img{width: 100% !important; height: auto !important;}', pager: { type: 4, nextL: 'css;#xurl', @@ -3392,7 +3413,7 @@ function: { } else { curSite = DBSite._77mh_list; }}, - insStyle: '.page_num, #bdtopbot {display: none !important;} #comicImg > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', + style: '.page_num, #bdtopbot {display: none !important;} #comicImg > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', pager: { type: 4, nextL: _77mh_nextL, @@ -3430,7 +3451,7 @@ function: { } else if (indexOF(/\/(update|list|search)/)) { curSite = DBSite.gufengmh_list; }}, - insStyle: 'p.img_info {display: none !important;}', // 隐藏中间的页数信息 + style: 'p.img_info {display: none !important;}', // 隐藏中间的页数信息 pager: { type: 4, nextL: gufengmh_nextL, @@ -3460,7 +3481,7 @@ function: { } else if (lp == '/szcbolist' || lp == '/update') { curSite = DBSite.szcdmj_list; }}, - insStyle: '.header {opacity: 0.3 !important;}', + style: '.header {opacity: 0.3 !important;}', pager: { type: 1, nextL: '//div[@class="fanye"][1]/a[@href][text()="下一页" or text()="下一话"]', @@ -3493,7 +3514,7 @@ function: { } else if (indexOF('/manga-list') || lp == '/search') { curSite = DBSite.mangabz_list; }}, - insStyle: 'body > .container > div:not([id]) {display: none !important;} .top-bar {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}', + style: 'body > .container > div:not([id]) {display: none !important;} .top-bar {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}', hiddenPN: true, pager: { type: 4, @@ -3524,7 +3545,7 @@ function: { } else if (indexOF('/manga-list') || lp == '/search') { curSite = DBSite.xmanhua_list; }}, - insStyle: 'a.reader-bottom-page {display: none !important;} .header, .reader-bottom {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}', + style: 'a.reader-bottom-page {display: none !important;} .header, .reader-bottom {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}', hiddenPN: true, pager: { type: 4, @@ -3561,7 +3582,7 @@ function: { } else if (lp == '/search') { curSite = DBSite.cocomanga_search; }}, - insStyle: '.mh_readend, .mh_footpager, .mh_readmode {display: none !important;} .mh_comicpic img {cursor: unset !important;} .mh_comicpic img {min-height: 150px;}', + style: '.mh_readend, .mh_footpager, .mh_readmode {display: none !important;} .mh_comicpic img {cursor: unset !important;} .mh_comicpic img {min-height: 150px;}', pager: { type: 4, nextL: '//a[contains(@class, "read_page_link") and contains(string(), "下一章")][not(contains(@href, "javascript"))]', @@ -3611,7 +3632,7 @@ function: { }, // 起点中文 qidian_read: { host: 'read.qidian.com', - insStyle: '.admire-wrap {display: none !important;}', + style: '.admire-wrap {display: none !important;}', pager: { type: 1, nextL: 'css;a[id$="chapterNext"]', @@ -3651,7 +3672,7 @@ function: { } else if (indexOF('/all')) { curSite = DBSite.yushubo_all; }}, - insStyle: '.readbg.mt10 {display: none !important;}', + style: '.readbg.mt10 {display: none !important;}', pager: { type: 1, nextL: '//div[contains(@class, "articlebtn")]/a[contains(text(), "下一页") or contains(text(), "下一章")]', @@ -3683,7 +3704,7 @@ function: { soxscc: { host: 'www.soxscc.org', functionS: function() {if (indexOF(/\/\d{4,}\.html/)) {curSite = DBSite.soxscc;}}, - insStyle: '.content > p, img {display: none !important;}', + style: '.content > p, img {display: none !important;}', pager: { type: 1, nextL: '//font[contains(text(), "下一章")]/following-sibling::a[1]', @@ -3697,7 +3718,7 @@ function: { ihuaben: { host: 'www.ihuaben.com', functionS: function() {if (indexOF(/\/\d{4,}\.html/)) {curSite = DBSite.ihuaben;}}, - insStyle: '.discription > p > i, img, #container, #BDBannerBottom_PC, iframe, .navFooter {display: none !important;} .discription > p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}', + style: '.discription > p > i, img, #container, #BDBannerBottom_PC, iframe, .navFooter {display: none !important;} .discription > p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}', pager: { type: 1, nextL: 'id("preAndNextBar")/a[contains(text(), "下一章")]', @@ -3750,7 +3771,7 @@ function: { xiaoshuo77: { host: 'm.xiaoshuo77.net', functionS: function() {if (indexOF('.html')) {curSite = DBSite.xiaoshuo77; xs_bF(getAllCSS('#novelcontent'), [/(
)?( )+内容未完,下一页.*$|【本章阅读.*$/, '
']);}}, - insStyle: '#novelcontent > p, img {display: none !important;}', + style: '#novelcontent > p, img {display: none !important;}', pager: { type: 1, nextL: 'css;.page_chapter a.p4', @@ -3859,7 +3880,7 @@ function: { } else if (indexOF('/wenku/') || indexOF('/sa/')) { curSite = DBSite.linovelib_w_wenku; }}, - insStyle: 'body {min-height: 1000px;}', + style: 'body {min-height: 1000px;}', pager: { type: 1, nextL: function() {if (ReadParams) {return (location.origin + ReadParams.url_next)}; return ''}, @@ -4275,7 +4296,7 @@ function: { sciencedirect: { host: 'www.sciencedirect.com', functionS: function() {locationC = true; if (lp == '/search') {curSite = DBSite.sciencedirect; setTimeout(function(){insStyle('html, body {height: ' + (document.documentElement.scrollHeight || document.body.scrollHeight) + 'px;}')}, 2000)}}, - insStyle: 'footer {display: none !important;}', + style: 'footer {display: none !important;}', iframe: true, pager: { type: 5, @@ -4368,7 +4389,7 @@ function: { } }, // 谷歌学术 - 其他镜像站 bing_academic: { - insStyle: 'li.aca_algo_count {display: none !important;}', + style: 'li.aca_algo_count {display: none !important;}', pager: { type: 1, nextL: 'css;a.sb_pagN', @@ -4425,7 +4446,7 @@ function: { wanfangdata: { host: 's.wanfangdata.com.cn', functionS: function() {locationC = true; curSite = DBSite.wanfangdata;}, - insStyle: '#zkFooter {display: none !important;}', + style: '#zkFooter {display: none !important;}', iframe: true, pager: { type: 5, @@ -4436,7 +4457,7 @@ function: { nsfc: { host: ['output.nsfc.gov.cn', 'kd.nsfc.gov.cn'], functionS: function() {if (indexOF('/conclusionProject/')) curSite = DBSite.nsfc;}, - insStyle: '#pageNoUl {display: none !important;}', + style: '#pageNoUl {display: none !important;}', pager: { type: 4, nextL: nsfc_nextL, @@ -4448,7 +4469,7 @@ function: { coolkeyan: { host: 'www.coolkeyan.com', functionS: function() {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;}, - insStyle: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}', + style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}', pager: { type: 4, nextL: coolkeyan_nextL, @@ -4531,7 +4552,7 @@ function: { w3school_com_cn: { host: 'www.w3school.com.cn', functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3school_com_cn;}}, - insStyle: '#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}', + style: '#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}', pager: { type: 3, nextL: function() { // 过滤部分非本页的参考手册 @@ -4550,7 +4571,7 @@ function: { w3cschool_cn: { host: 'www.w3cschool.cn', functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3cschool_cn;}}, - insStyle: '.widget-body, #rfbanner {display: none !important;}', + style: '.widget-body, #rfbanner {display: none !important;}', pager: { type: 1, nextL: 'css;.next-link > a', @@ -4562,7 +4583,7 @@ function: { runoob: { host: 'www.runoob.com', functionS: function() {if (location.pathname.split('/').length > 2 && getCSS('#leftcolumn')) {curSite = DBSite.runoob;}}, - insStyle: '#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;}', + style: '#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;}', pager: { type: 1, nextL: function() { // 过滤部分非本页的参考手册 @@ -4839,7 +4860,7 @@ function: { }, // Github - Search 列表 - user oi_wiki: { host: 'oi-wiki.org', - insStyle: 'blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;} article.md-content__inner{min-height: 700px;}', + style: 'blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;} article.md-content__inner{min-height: 700px;}', pager: { type: 1, nextL: 'css;li.md-nav__item.md-nav__item--active.md-nav__item--nested li.md-nav__item--active+li a', @@ -4858,19 +4879,10 @@ function: { scrollD: 1500 } }, // 果壳网 - expreview: { - host: 'www.expreview.com', - pager: { - type: 2, - nextL: 'css;#show_article_red_1SHOW', - interval: 1500, - scrollD: 1500 - } - }, // 超能网 landian: { host: 'www.landian.vip', functionS: function() {if (lp != '/' && !indexOF('/archives/') && !indexOF('/search/')) {curSite = DBSite.landian;}}, - insStyle: '.pagination {display: none !important;}', + style: '.pagination {display: none !important;}', pager: { type: 1, nextL: () => getNextUPN(/(?<=\/page\/)\d+/, /\/page\/\d+/, '/page/', '', '2', getCSS('.pagination > button.end').textContent), @@ -4888,7 +4900,16 @@ function: { replaceE: 'css;.pagebar', scrollD: 3000 } - }, // 可能吧 + }, // 可能吧 + expreview: { + host: 'www.expreview.com', + pager: { + type: 2, + nextL: 'css;#show_article_red_1SHOW', + interval: 1500, + scrollD: 1500 + } + }, // 超能网 ithome: { host: 'www.ithome.com', pager: { @@ -4967,7 +4988,7 @@ function: { alipanso: { host: 'www.alipanso.com', functionS: function() {if (lp == '/search.html') {curSite = DBSite.alipanso;}}, - insStyle: '.pager-wrap {display: none !important;}', + style: '.pager-wrap {display: none !important;}', pager: { type: 1, nextL: () => getNextUP('page=', /page=\d+/), @@ -5205,7 +5226,7 @@ function: { }, // 立创开源硬件平台 netbian: { host: 'pic.netbian.com', - insStyle: 'li.nextpage {display: none !important;}', + style: 'li.nextpage {display: none !important;}', pager: { type: 1, nextL: '//div[@class="page"]/a[contains(text(),"下一页")]', @@ -5217,7 +5238,7 @@ function: { ioliu: { host: 'bing.ioliu.cn', functionS: function() {if (!indexOF('/photo/') && !indexOF('.html')) {curSite = DBSite.ioliu; document.head.appendChild(document.createElement('base')).target = '_blank';}}, - insStyle: '.progressive--not-loaded {filter: none !important;}', + style: '.progressive--not-loaded {filter: none !important;}', pager: { type: 1, nextL: '//div[@class="page"]/a[contains(text(), "下一页")]', @@ -5229,7 +5250,7 @@ function: { konachan: { host: 'konachan.net', functionS: function() {if (indexOF('/post')) {curSite = DBSite.konachan; document.head.appendChild(document.createElement('base')).target = '_blank';}}, - insStyle: 'html, body {min-height: 1000px;} .javascript-hide {display: inline-block !important;} ul#post-list-posts img, ul#post-list-posts .inner{width: auto !important; height: auto !important;} ul#post-list-posts li {width: 33% !important;} a.directlink {margin: 0 !important;}', + style: 'html, body {min-height: 1000px;} .javascript-hide {display: inline-block !important;} ul#post-list-posts img, ul#post-list-posts .inner{width: auto !important; height: auto !important;} ul#post-list-posts li {width: 33% !important;} a.directlink {margin: 0 !important;}', pager: { type: 1, nextL: 'css;a.next_page', @@ -5260,7 +5281,7 @@ function: { }, // 壁纸 xinpianchang: { host: 'www.xinpianchang.com', - insStyle: '.lazy-img {opacity: 1 !important;}', + style: '.lazy-img {opacity: 1 !important;}', pager: { type: 1, nextL: 'css;.page > a[title="下一页"]', @@ -5282,7 +5303,7 @@ function: { } else if (location.pathname != '/' && !indexOF('/search/')) { curSite = DBSite.tujigu_list; }}, - insStyle: '.content img {display: block !important;}', + style: '.content img {display: block !important;}', pager: { type: 1, nextL: 'id("pages")/a[contains(text(), "下一页")]', @@ -5388,7 +5409,7 @@ function: { tvv: { host: /\.tvv\.tw/, functionS: function() {if (lp == '/' || indexOF('/page/') || indexOF('/category/')) {curSite = DBSite.tvv;}}, - insStyle: '.blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title > a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}', + style: '.blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title > a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}', pager: { type: 1, nextL: 'css;a.next', @@ -5524,7 +5545,7 @@ function: { } }, // fnvshen - 图片页 fnvshen_list: { - insStyle: '.yalayi_box {display: none !important; margin: -4px 0 !important;}', + style: '.yalayi_box {display: none !important; margin: -4px 0 !important;}', pager: { type: 1, nextL: '//div[@class="pagesYY"]//a[contains(text(), "下一页")]', @@ -5594,7 +5615,7 @@ function: { jpmn8: { host: 'www.jpmn8.com', functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.jpmn8;} else if (location.pathname != '/') {curSite = DBSite.jpmn8_list;}}, - insStyle: 'img[onload] {min-height: 500px;}', + style: 'img[onload] {min-height: 500px;}', pager: { type: 1, nextL: '//div[@class="pagination1"]//a[text()="下一页"]', @@ -5615,7 +5636,7 @@ function: { ku66: { host: 'www.ku66.net', functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66;} else {curSite = DBSite.ku66_list;}}, - insStyle: '.content img {min-height: 500px;}', + style: '.content img {min-height: 500px;}', pager: { type: 1, nextL: '//div[@class="NewPages"]//a[text()="下一页"]', @@ -5638,7 +5659,7 @@ function: { ku66_m: { host: 'm.ku66.net', functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66_m;} else {curSite = DBSite.ku66_m_list;}}, - insStyle: '.ArticleImageBox img {min-height: 200px;}', + style: '.ArticleImageBox img {min-height: 200px;}', pager: { type: 1, nextL: '//div[@class="article_page"]//a[text()="下一页"]', @@ -5659,7 +5680,7 @@ function: { ku137: { host: 'www.ku137.net', functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137;} else if (location.pathname != '/') {curSite = DBSite.ku137_list;}}, - insStyle: '.Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}', + style: '.Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}', pager: { type: 1, nextL: '//div[@class="page"]/a[text()="下一页"]', @@ -5680,7 +5701,7 @@ function: { ku137_m: { host: 'm.ku137.net', functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137_m;} else if (location.pathname != '/') {curSite = DBSite.ku137_m_list;}}, - insStyle: '.ArticleImageBox img {min-height: 300px;}', + style: '.ArticleImageBox img {min-height: 300px;}', pager: { type: 1, nextL: '//div[@class="article_page"]//a[text()="下一页"]', @@ -5701,7 +5722,7 @@ function: { mnttz: { host: 'www.mnttz.com', functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.mnttz;} else {curSite = DBSite.mnttz_list;}}, - insStyle: 'img.content_img {min-height: 500px;}', + style: 'img.content_img {min-height: 500px;}', pager: { type: 1, nextL: 'css;.article-paging > span+a', @@ -5726,7 +5747,7 @@ function: { kingdom: { host: /kingdom-en\.com/, functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else {curSite = DBSite.kingdom_list;}}, - insStyle: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}', + style: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}', pager: { type: 1, nextL: '//a[@class="page_next"] | //div[@class="article_page"]//a[text()="下一页"]', @@ -5747,7 +5768,7 @@ function: { kissgoddess: { host: /kissgoddess\./, functionS: function() {if (indexOF('/album/') || indexOF('/category/')) curSite = DBSite.kissgoddess;}, - insStyle: '.td-gallery-content > img {min-height: 300px;}', + style: '.td-gallery-content > img {min-height: 300px;}', pager: { type: 1, nextL: 'css;a.a1:last-of-type', @@ -5763,7 +5784,7 @@ function: { planetminecraft: { host: 'www.planetminecraft.com', functionS: function() {if (!indexOF('/forums/') && !indexOF('/posts/')) {curSite = DBSite.planetminecraft;}}, - insStyle: '.resource .r-preview>a img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}', + style: '.resource .r-preview>a img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}', pager: { type: 1, nextL: 'css;a.pagination_next', @@ -5895,7 +5916,7 @@ function: { nowLocation = location.href; curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码 registerMenuCommand(); // 重新判断规则 //console.log(curSite); - if (curSite.insStyle) {insStyle(curSite.insStyle)} // 插入 Style CSS 样式 + if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式 curSite.pageUrl = ''; // 下一页URL pageLoading(); // 自动无缝翻页 @@ -5908,7 +5929,7 @@ function: { if (nowLocation == location.href) return nowLocation = location.href; curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码 DBSite.flarum.functionS(); // 重新判断规则 - if (curSite.insStyle) {insStyle(curSite.insStyle)} // 插入 Style CSS 样式 + if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式 pageLoading(); // 自动无缝翻页 if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码 @@ -5917,7 +5938,7 @@ function: { } } // 插入 Style CSS 样式 - if (curSite.insStyle) insStyle(curSite.insStyle) + if (curSite.style) insStyle(curSite.style) // 对翻页模式 5 的子 iframe 添加一个跟随滚动的事件 if (curSite.pager && curSite.pager.type === 5 && self != top) { @@ -7134,7 +7155,7 @@ function: { if (delta > 0 && scrollTop + clientHeight + 10 >= scrollHeight && !getCSS('#xiu-scroll')) { let newStyle = document.createElement('style'); newStyle.id = 'xiu-scroll'; newStyle.textContent = 'html::-webkit-scrollbar, body::-webkit-scrollbar {width: 0 !important;height: 0 !important;} html, body {scrollbar-width: none !important;}'; - if (curSite.pager.insStyle) newStyle.textContent += curSite.pager.insStyle; + if (curSite.pager.style) newStyle.textContent += curSite.pager.style; document.documentElement.appendChild(newStyle); iframe.focus(); iframe.document.body.focus(); From d3ecd7f8d9841205930bb1a9727b66c566b64cc0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 7 Feb 2022 13:57:51 +0800 Subject: [PATCH 0007/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 3b7bb2ab6..13855a5b4 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Github 增强 - 高速下载 -// @version 1.8.1 +// @version 1.8.2 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @match *://github.com/* @@ -41,7 +41,7 @@ ['https://gh.xiu.workers.dev/https://github.com', '美国 2'], ['https://gh.api.99988866.xyz/https://github.com', '美国 3'], ['https://github.rc1844.workers.dev', '美国 4'], - ['https://gh.feizhuqwq.com/https://github.com', '美国 5'], + ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 5'], ['https://git.yumenaka.net/https://github.com', '美国 6'], ['https://download.fastgit.org', '日本'], ['https://ghproxy.com/https://github.com', '韩国'] From 9ac8926a471c846c9a45d91a9545b00dcc295223 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 7 Feb 2022 20:03:11 +0800 Subject: [PATCH 0008/1437] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index 1396d2e9b..d78f2623a 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -2,7 +2,7 @@ // @name 自动无缝翻页 // @version 4.6.6 // @author X.I.U -// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... +// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/* // @connect www.ykmh.com // @connect www.xuexiniu.com From 9b08febbed8dfc1579231e094214d1c903ec95d4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 8 Feb 2022 09:26:41 +0800 Subject: [PATCH 0009/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index f50c9559b..c0982b77e 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name 知乎增强 -// @version 1.9.7 +// @version 1.9.8 // @author X.I.U -// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 +// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 // @match *://www.zhihu.com/* // @match *://zhuanlan.zhihu.com/* // @icon https://static.zhihu.com/heifetz/favicon.ico @@ -27,7 +27,7 @@ var menu_ALL = [ ['menu_defaultCollapsedAnswer', '默认收起回答', '默认收起回答', true], ['menu_collapsedAnswer', '一键收起回答', '一键收起回答', true], - ['menu_collapsedNowAnswer', '收起当前回答/评论 (点击两侧空白处)', '收起当前回答/评论', true], + ['menu_collapsedNowAnswer', '快捷收起回答/评论 (点击两侧空白处)', '快捷收起回答/评论', true], ['menu_backToTop', '快捷回到顶部 (右键两侧空白处)', '快捷回到顶部', true], ['menu_blockUsers', '屏蔽指定用户', '屏蔽指定用户', true], ['menu_customBlockUsers', '自定义屏蔽用户', '自定义屏蔽用户', ['故事档案局', '盐选推荐', '盐选科普', '盐选成长计划', '知乎盐选会员', '知乎盐选创作者', '盐选心理', '盐选健康必修课', '盐选奇妙物语', '盐选生活馆', '盐选职场', '盐选文学甄选', '盐选作者小管家', '盐选博物馆', '盐选点金', '盐选测评室', '盐选科技前沿', '盐选会员精品']], From 142bce4b673ff98547bbd3ce058ca49848904411 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 8 Feb 2022 09:28:48 +0800 Subject: [PATCH 0010/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index c0982b77e..e4af27e21 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -2,7 +2,7 @@ // @name 知乎增强 // @version 1.9.8 // @author X.I.U -// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 +// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 // @match *://www.zhihu.com/* // @match *://zhuanlan.zhihu.com/* // @icon https://static.zhihu.com/heifetz/favicon.ico From 0d6661101376b8bc169413403289221e82261e4f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 8 Feb 2022 09:55:12 +0800 Subject: [PATCH 0011/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E8=AF=AD=E8=A8=80=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Autopage.user.js b/Autopage.user.js index d78f2623a..50e98911c 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,8 +1,14 @@ // ==UserScript== // @name 自动无缝翻页 +// @name:en AutoPager +// @name:zh 自动无缝翻页 +// @name:zh-TW 自動無縫翻頁 // @version 4.6.6 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... +// @description:en Seamlessly stitch next page content (waterfall) +// @description:zh 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... +// @description:zh-TW 無縫拼接下一頁內容(瀑布流,追求小而精) // @match *://*/* // @connect www.ykmh.com // @connect www.xuexiniu.com From f30be176f4c9c8bb206f315f7ce2cae175e71392 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 8 Feb 2022 10:04:15 +0800 Subject: [PATCH 0012/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E8=AF=AD=E8=A8=80=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 4 ++-- DarkMode.user.js | 6 ++++++ GithubEnhanced-High-Speed-Download.user.js | 6 ++++++ Zhihu-Enhanced.user.js | 6 ++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 50e98911c..58c0c73b0 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,13 +1,13 @@ // ==UserScript== // @name 自动无缝翻页 // @name:en AutoPager -// @name:zh 自动无缝翻页 +// @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @version 4.6.6 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:en Seamlessly stitch next page content (waterfall) -// @description:zh 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... +// @description:zh-CN 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:zh-TW 無縫拼接下一頁內容(瀑布流,追求小而精) // @match *://*/* // @connect www.ykmh.com diff --git a/DarkMode.user.js b/DarkMode.user.js index d312b397a..64691e806 100644 --- a/DarkMode.user.js +++ b/DarkMode.user.js @@ -1,8 +1,14 @@ // ==UserScript== // @name 护眼模式 +// @name:en Dark Mode +// @name:zh-CN 护眼模式 +// @name:zh-TW 護眼模式 // @version 1.3.8 // @author X.I.U // @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) +// @description:en Simple and effective network-wide eye protection mode (night mode, dark mode, dark mode) +// @description:zh-CN 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) +// @description:zh-TW 簡單有效的全網通用護眼模式(夜間模式、暗黑模式、深色模式) // @match *://*/* // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAALfElEQVRYhX2Xe3Bd1XXGf3vvc859X+nq6nUlW5Yly7JlI2xsYzAwtnk4ATpAxkNTHm0mnaTT/gHTTvrIBDLTpp1JUoZppqHQls5AKTR2INOWJJQSXF4x2BhsJCRZ8kuWZckPSVf3/Trn7N3RVTFpQrNn1l97n7O/vda31reWMKMPcmUJA9U8vrwHGdqCHn4HPzePaIxhVSoYbYRXrn7BeMVbCUduF6kVUXHwvQP+6amDaqDnoIompmQytaBnTmB8H5lowrjgFss48SBeI/hUEEZeudLi1ywhJEIJdL6Q8rzal/1a5SGC4XZrYBvWwEZobMdLdH6RH+z/Io1taEeh52fe8tOZbysl/ouWFvANYP7fSz4DgAEBBIL4xiS8ubmnVcTZK68aRK29Dtm8dgnZJydRW+/E2nrnp19nz+7U77+60zt0qMz07J/KxuQTwrIw4rMBCDP6wC+FIIcO34eudDdXf/7jD52Opi772lugY3AZr++hp06gz48j+waRqTWYmVHcS+chEMFeuw1hBzBzY7g/fQE9fmqBYPzBQKrpVa/R4OkCAnXlSvXnX9sIllk220BE4Z8OdHoj54YCK6Od1i2/iUmuRyDRk6NUn3+M0pv/hnf0AE40jEjEqP3oe6Rf/CGOWUTNjFKby2MP7EBtugURFWFxfOhB4+o4yfhrGAdZsxHaqZt6dNce9KXYFSPfGWS68JFqTXSqO7+MCaTqETGTwxSeeoRCOoPT2YUIhFC2jbQF/uwUatU6rPbVUM5T+OfHUO3dWKv6kSsGUIOD6PEPr+fswnanpecFZYVQhFAyjPS9Tj4xw2rcU+pJApEutWsvRjaBW8NUShilkE1JIqlUPfi6VMLNFTBVr+7KYKqJ8uEjlM+dJrR5K0L7eB+9hTd2CFrWYt33h0jH3O5Nj37TBGtgZUBkUN/6q4dQ7UmsnlW450//gU5PPRq460uQXAu+j//i99A/+UdUMoXqbMNkz2OnUkixlF4u9spe/HMTULyEaA7jXkoT2fEbQIXi838DJ4cRDXHkEjc2b0MPHdptZubGpBUbM0UfKQpBRDmKWRSD3tTMk87gddA2WGe4+dkzMD0CyQ5qP/4XVDCAvfkaLMvHamzEClpQzGDF46iuJOH1CaKr2tDZRfzhQ0Ru24NYsYrCM4/jDb+FiHdi3XU/0s3vr7WsGKxcfyPSy+bxi0UqJ8f/IriiE2vrnuWsLefQk8NoO4AMBBB9/XjDI6hQCjdTxq9WCaQ6ULaDFrIeKr3oIlv70Olz2K1xlAVaSUQojD786nKi9e5A3LBHMHn0W+LUUaS1FI9q+iZZWLhHdq/FxFbWSSfsIDIQwVw4g/GK2OuuhloNMzaCaF+DNBJtQfX8LFYigElX0OkQtZKHVy3jqwDlqWncCzPI3nU4t+2FWrH+OLHzHpRl3109memTOhqDi9NfkefHEKvWLTO+VKD68Qf4G27CueFWhJ/Df+0lVFcXJOJYnobm1ZjsJUxuFjyDjK/GNK2gND4ESuDPXcCOSaI7thPqX0ft8OtUn/oTKOQgkET39KJU4RbpZXOtNRW717p+FyRSdYT+v36H4u/fQXbfc3iRDkT3FsTGjWAWEU0OZKfAU9CyEdXVD2lQPduplmo4jkBEbMzK1VgDu5EVTe3gm1RHx6Bcxpz6YLkEO0lMYeFGi6z7eVMqhkT/ZrCb0LNT+NMTRH/nt/BLRdy3X8Nv68Lu6cZEHURjE6K3hirYeLRhDWyA4jxzH40RXJwkeuM29MpN+JcziEsz+Avz6GgcW1pYbUlEQCyHwYpSyxS7rGo+v8man4ZMATrAHf+QSt7FTkWR4QbsjlbIX8IMH0VuuAqj4piGAbhmEPPzI/injnNxMUPuwOtseOIxKKTJ7/8BTBxDdXcjO9sJdTeg01VqH4wg3CDB9bshHMKORbGolVOmeRW09dVdUxkbp3ruNM7GXnS1hK5OYSoSbBDZBcxCBtF3DcUzk6hkhGA0RmtHKx1rOkE04lbzWC1tqMRt1CZHUafPIs8H6/JsNTcgN+9YFq1qgbBUFUvnK9qrVghXCvWN8MBmivueJDtylqaeBKWJaXR4JZEtNyBWrkGt6AJboCZO4J49Rc64xGIhcgtZgm6egKhgtUQQto17WeHOLqCNj5Vowbr7q4j+Lcs1JhhEphcXLTebd0jPwpkx6Lwa++bbCR95ALecp5a6BrvrJoLdHajmMOTnKb3+BrVMntjARpzeFbz8jcfpa22gGm+kMJlm95Zu9M9+iI5G0G3d6EgIUSnjzs/gv/Icgd6rqcvz0IeYWnXc8pEtYnEe8gtXNL7xz74LehHSE3DqNP7EIdx3p5DSh7JNJePiBE/gN3Uz8NWHae5sRJYXqKQvU+raQPg7L6L3/QNMHcfp6EREGjC5LDp9GaOs5VQ/NQI93YctOxFPlwniDh/C3n47JHvrQPTBl3DHjiIDQUQ4jGhOYcqaQFuE0Nl53OnLRHfsZV33KsTxd6GlHeaP477zMl5uAWv7dkyLg6kZREsb+vgCcvPOuoaYuWNQWERs3jAuQ6nooXK6TH566cXnrjQK7uwFaoseWA3oJf2WEhEJUjm/gMgXCfdvQlFFv/R3uCND6FIRv7MfMnOIiaPoI/8NEb2kWAhfoLbdjLr2jmUv/8f+pVbkHRGNnZHum2/udxxtCn4j/vgEIjNTD4O9upfIprUYoxBKo9Z14jumTq7YYD9WayvuR++hs1lkshmha4iuNeDYiIAFMoCevIi+cJHaa29gmvsRTUn0R29g9u1D7bxxv+jrRnpD56cCkdjfV9NzpA+8A5VlLojWAczlGVTAYKXimIU8MlsjtKEXgiF0aRGdm8cEYnXm+O+/gdAGuWsP3shhTHoOEYqCCEF2DsrF5f+e/xiikUldrT6l3z+GevSaTahaZdRY6uFqxRXR1sRyzU/21Gu6OTOMfzmPd6kI8TgiX8B4imouj1QCKmVUNITJ59AnR1F77kH4ZaRnQFroMyeRW3egdt6DwIX391Gshv+4LK2jtcuLqK9t7ALjZXzH1uVM/mb/7BTRnjZEex+idQ2EAnjjR/BdF1PIoV2Bae/F/fh9dL5IYE0XUmpMNo+ev4AINSJWb0UPHa63Z7SvRN3/CHJpFHj2G4iZzAuBbTu+GWpIEGxrQ/3RnlvxG5M4kYa3Lc2u4uyFblnIE+xfAbF2RMtqZGsn/uTYUgHH+dz9eFMnqYx8gO+CEwkjhcDPF/DLHurSaeTm3RiWMsDHeuDrSFvBv3+bi08+N1Vwuj/vZWtu+dwclZlFrESoeZmZysJXoTsCjnVk8dDQBuN+n8RDD9fbcdG7leBX1iOkQjhBOHmQfKGAHW3CS6fR+QClmYuYMyPY265DtPVgtfctiw4V/GcfYfGNQzj3/u4DqlormUoZEQwuc0I//eSnY4G0wPJjmdGhw+mh0fWxNZ0037cXccPd1MXgk+GjNE/tR3+Le+YEyg5TnT6LXlwgcu1u7C99HZlsv3K2+vjvkTs2RvDe3747tm7Dy1SKvzSYPP/MLwxFAkIKEzEye2zswOXX395lJyK0fOFzRHfuglQfqPin59Nn0RNDuJk09vprkd0brmx5H7xCbfgQbrZ83OkfvN1pj0+ZmkBYNhjzCwCeffr/AsBDJyU6kqBwbPzRuTcP/GXV82lYlaJpfQ+BjVdhXX0tNKTAjvzKqKXPTeC++1NKY0c9kVz1SGzb9X8tjIdfzSFCDfUw/noA0scPuxBrwcvmmH3rQIvMm3/y0XdJS4JfIpiIUG9g+wcg6KDnZpGZNDQ0Ii5cSAtlPRHYct13axWvJNwadiiAli4iEP8VAJ89HQtR129TLiG1nos0Nt8dSOi12qi9lRq3utVqT/lirql24hW3vLBQi3d3XUqu73+PZOonBNR/WnbYSMeGTO5/Xf6ZtwDwPwtFRezQVs+sAAAAAElFTkSuQmCC // @grant GM_registerMenuCommand diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 13855a5b4..158b0e06b 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -1,8 +1,14 @@ // ==UserScript== // @name Github 增强 - 高速下载 +// @name:en Github Enhancement - High Speed Download +// @name:zh-CN Github 增强 - 高速下载 +// @name:zh-TW Github 增強 - 高速下載 // @version 1.8.2 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) +// @description:en High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files, project list file quick download (☁) +// @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) +// @description:zh-TW 高速下載 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、項目列表單文件快捷下載 (☁) // @match *://github.com/* // @match *://hub.fastgit.org/* // @icon https://i.loli.net/2021/03/30/ULV9XunaHesqGIR.png diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index e4af27e21..61ff66dca 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -1,8 +1,14 @@ // ==UserScript== // @name 知乎增强 +// @name:en Zhihu enhancement +// @name:zh-CN 知乎增强 +// @name:zh-TW 知乎增強 // @version 1.9.8 // @author X.I.U // @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 +// @description:en Remove the login popup, block the homepage video, close the answer by default, quickly close the answer/comment (both sides of the left button), quickly return to the top (both sides of the right button), block users, block keywords, remove highlighted links , Shield salt selection, purify title message, expand problem description, display problem author, display time on top, complete problem time, distinguish problem article, direct problem button, default high-definition original image, default off-site direct link +// @description:zh-CN 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 +// @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論(左鍵兩側)、快捷回到頂部(右鍵兩側)、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化標題消息、展開問題描述、顯示問題作者、置頂顯示時間、完整問題時間、區分問題文章、直達問題按鈕、默認高清原圖、默認站外直鏈 // @match *://www.zhihu.com/* // @match *://zhuanlan.zhihu.com/* // @icon https://static.zhihu.com/heifetz/favicon.ico From f5d65987802718d858b5659d8caa8fd8c409151e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:54:06 +0800 Subject: [PATCH 0013/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 158b0e06b..d03133eb9 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -67,11 +67,11 @@ //['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''], //['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''], ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', ''], - ['https://fastly.jsdelivr.net/gh','日本 1', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + ['https://fastly.jsdelivr.net/gh','日本 1', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], ['https://cdn.staticaly.com/gh','日本 2', '注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], ['https://raw.fastgit.org','日本 3', '注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], ['https://cdn.jsdelivr.net/gh','美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] + ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] ], svg = [ '', From 3df3e3e49cac744b5798160a38e049eadb8d93ba Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 9 Feb 2022 08:45:04 +0800 Subject: [PATCH 0014/1437] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=BA=AF?= =?UTF-8?q?=E7=BE=8E=E8=8B=B9=E6=9E=9C=E5=9B=AD]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 58c0c73b0..f6d0e9044 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:en AutoPager // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 -// @version 4.6.6 +// @version 4.6.7 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:en Seamlessly stitch next page content (waterfall) @@ -1440,17 +1440,33 @@ function: { scrollD: 1500 } }, // South Plus (南+) + goddessfantasy: { + host: 'www.goddessfantasy.net', + functionS: function() { + if (indexOF('board=', 's')) { + curSite = DBSite.goddessfantasy; + } else if (indexOF('topic=', 's')) { + if (GM_getValue('menu_thread')) curSite = DBSite.goddessfantasy; curSite.pager.pageE = 'css;#quickModForm > *'; + }}, + pager: { + type: 1, + nextL: '//div[contains(@class,"pagelinks")]/a[@class="navPages" and text()="»"]', + pageE: 'css;.table_grid > tbody > tr', + replaceE: 'css;.pagelinks', + scrollD: 1500 + } + }, // 纯美苹果园 adnmb3: { host: ['adnmb3.com', 'www.tnmb.org'], functionS: function() { if (indexOF('/m/f/')) { curSite = DBSite.adnmb3_mf; } else if (indexOF('/m/t/')) { - curSite = DBSite.adnmb3_mt; + if (GM_getValue('menu_thread')) curSite = DBSite.adnmb3_mt; } else if (indexOF(/\/(f|Forum)\//)) { curSite = DBSite.adnmb3; } else if (indexOF('/t/')) { - curSite = DBSite.adnmb3_t; + if (GM_getValue('menu_thread')) curSite = DBSite.adnmb3_t; }}, pager: { type: 1, From 3f562484755db37f235ee46da445a06198102521 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 9 Feb 2022 22:18:28 +0800 Subject: [PATCH 0015/1437] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=AC=94?= =?UTF-8?q?=E8=B6=A3=E9=98=81]=20=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index f6d0e9044..ea2108166 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:en AutoPager // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 -// @version 4.6.7 +// @version 4.6.8 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:en Seamlessly stitch next page content (waterfall) @@ -7047,7 +7047,7 @@ function: { } } - // 如果是 正则 + // 如果是 正则/字符串 } else if ((DBSite[now].host instanceof RegExp && DBSite[now].host.test(location.hostname)) || (typeof DBSite[now].host === 'string' && DBSite[now].host === location.hostname)) { if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行 @@ -7059,6 +7059,8 @@ function: { if (support) { console.info('[自动无缝翻页] - 独立规则 网站'); return 1; + } else if (self != top) { + return -1; } else if (getCSS('meta[name="author" i][content*="Discuz!" i], meta[name="generator" i][content*="Discuz!" i], body[id="nv_forum" i][class^="pg_" i][onkeydown*="27"], body[id="nv_search" i][onkeydown*="27"]') || (getCSS('a[href*="www.discuz.net" i]') && getCSS('a[href*="www.discuz.net" i]').textContent.indexOf('Discuz!') > -1) || (getCSS('#ft') && getCSS('#ft').textContent.indexOf('Discuz!') > -1)) { console.info('[自动无缝翻页] - 论坛'); return 2; } else if (getCSS('#flarum-loading')) { @@ -7079,10 +7081,8 @@ function: { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 102; } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103; - } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') || document.title.indexOf('笔趣阁')) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { + } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') > -1 || document.title.indexOf('笔趣阁') > -1) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { console.info('[自动无缝翻页] - <笔趣阁> 模板的小说网站'); return 200; - } else if (self != top) { - return -1; } return 0; } From 1d39c32ea239f2f86a47670072a9f12fb4a275cb Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 10 Feb 2022 17:59:03 +0800 Subject: [PATCH 0016/1437] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[36=20=E6=BC=AB?= =?UTF-8?q?=E7=94=BB]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/Autopage.user.js b/Autopage.user.js index ea2108166..2ef092143 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3115,6 +3115,40 @@ function: { pF: [0, 'img[data-src]', 'data-src'] } }, // 漫画台 - 分类/搜索页 + _36manga: { + host: ['36manga.com', 'www.36manga.com', '36manhua.com', 'www.36manhua.com'], + functionS: function() {if (indexOF(/\/manhua\/.+\/\d+\.html/)) { + if (localStorage.getItem('chapterScroll') != '"pagination"') { + localStorage.setItem('chapterScroll', '"pagination"'); location.reload() + } else { + pausePage = false; + setTimeout(_36manga_init, 100); + curSite = DBSite._36manga; + } + } else if (indexOF('list/') || indexOF('/search/')) { + curSite = DBSite._36manga_list; + }}, + style: '#sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996 {display: none !important;} #images > img {width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 100% !important;}', + pager: { + type: 4, + nextL: _36manga_nextL, + pageE: '//body/script[contains(text(), "chapterImages")]', + insertP: ['css;#images', 3], + insertE: _36manga_insertE, + replaceE: 'css;.title', + interval: 4000, + scrollD: 2500 + } + }, // 36漫画 + _36manga_list: { + pager: { + type: 1, + nextL: 'css;ul.pagination li.next a', + pageE: 'css;#contList', + replaceE: 'css;ul.pagination', + scrollD: 1500 + } + }, // 36漫画 - 分类/搜索页 manhuadb: { host: 'www.manhuadb.com', functionS: function() {if (indexOF(/\/manhua\/\d+\/.+\.html/)) { @@ -6422,6 +6456,40 @@ function: { } + // [36漫画] 初始化(将本话其余图片插入网页中) + function _36manga_init() { + let _img = '', imgPath = `${SinConf.resHost[0].domain[0]}${chapterPath}`; + if (!(chapterImages) || !(imgPath)) return + // 遍历图片文件名数组,组合为 img 标签 + for (let i = 0; i < chapterImages.length; i++) {_img += ``;} + // 插入并覆盖原来的一个图片 + getOne(curSite.pager.insertP[0]).innerHTML = _img; + pausePage = true; + } + // [36漫画] 获取下一页地址 + function _36manga_nextL() { + if (!nextChapterData.id) return + var url = comicUrl + nextChapterData.id + '.html' + if (url === curSite.pageUrl) return + curSite.pageUrl = url + getPageElems_(curSite.pageUrl); + } + // [36漫画] 插入数据 + function _36manga_insertE(pageElems, type) { + if (!pageElems) return + // 插入并执行数据代码 + insScript(curSite.pager.pageE, document.body, pageElems); + let _img = '', imgPath = `${SinConf.resHost[0].domain[0]}${chapterPath}`; + if (!(chapterImages) || !(imgPath)) return + // 遍历图片文件名数组,组合为 img 标签 + for (let i = 0; i < chapterImages.length; i++) {_img += ``;} + // 插入并覆盖原来的一个图片 + getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), _img); + addHistory(pageElems); + pageNum.now = pageNum._now + 1 + } + + // [爱漫画] 初始化(调整本话其余图片) function imanhuaw_init() { let _img = ''; From 9a58b66a8ca42db843f049a2484eb8c3afe62f96 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 10 Feb 2022 21:08:44 +0800 Subject: [PATCH 0017/1437] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B0=8F?= =?UTF-8?q?=E6=9C=A8=E8=99=AB]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 2ef092143..44cb0f53d 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:en AutoPager // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 -// @version 4.6.8 +// @version 4.6.9 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:en Seamlessly stitch next page content (waterfall) @@ -4413,6 +4413,34 @@ function: { scrollD: 2000 } }, // 科研通 - 帖子内 + coolkeyan: { + host: 'www.coolkeyan.com', + functionS: function() {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;}, + style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}', + pager: { + type: 4, + nextL: coolkeyan_nextL, + insertP: ['//div[contains(@class, "q-img__image")][last()]', 4], + insertE: coolkeyan_insertE, + scrollD: 1500 + } + }, // 酷科研 + muchong: { + host: 'muchong.com', + functionS: function() {if (indexOF('/f-') || indexOF('search.php')) { + curSite = DBSite.muchong; + } else if (indexOF('/t-')) { + curSite = DBSite.muchong; curSite.pager.pageE = 'css;#maincontent > table > tbody:not(.header)'; curSite.pager.scrollD = 2000; + }}, + style: 'tr.forum_head {display: none !important;}', + pager: { + type: 1, + nextL: '//div[contains(@class, "xmc_Pages")]//a[text()="下一页"]', + pageE: 'css;.forum_body table > tbody', + replaceE: 'css;.xmc_Pages', + scrollD: 1500 + } + }, // 小木虫 google_scholar: { host: 'scholar.google.com', functionS: function() {if (lp == '/scholar') {curSite = DBSite.google_scholar;}}, @@ -4509,7 +4537,7 @@ function: { nextL: () => getNextEP('css;.pager.active+span.pager', 'p=', /p=\d+/), scrollD: 2000 } - }, // 万方数据知识服务平台 + }, // 万方数据知识服务 nsfc: { host: ['output.nsfc.gov.cn', 'kd.nsfc.gov.cn'], functionS: function() {if (indexOF('/conclusionProject/')) curSite = DBSite.nsfc;}, @@ -4522,18 +4550,6 @@ function: { scrollD: 1500 } }, // 国家自然科学基金 - coolkeyan: { - host: 'www.coolkeyan.com', - functionS: function() {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;}, - style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}', - pager: { - type: 4, - nextL: coolkeyan_nextL, - insertP: ['//div[contains(@class, "q-img__image")][last()]', 4], - insertE: coolkeyan_insertE, - scrollD: 1500 - } - }, // 酷科研 stackoverflow: { host: 'stackoverflow.com', functionS: function() {if (indexOF('/questions') && !indexOF(/\/questions\/\d+\//)) { From 536e73335101b339a5dbc34e2c33973851384fde Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 10 Feb 2022 21:11:02 +0800 Subject: [PATCH 0018/1437] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B0=8F?= =?UTF-8?q?=E6=9C=A8=E8=99=AB]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index 44cb0f53d..677640164 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -4429,7 +4429,7 @@ function: { host: 'muchong.com', functionS: function() {if (indexOF('/f-') || indexOF('search.php')) { curSite = DBSite.muchong; - } else if (indexOF('/t-')) { + } else if (indexOF('/t-') && GM_getValue('menu_thread')) { curSite = DBSite.muchong; curSite.pager.pageE = 'css;#maincontent > table > tbody:not(.header)'; curSite.pager.scrollD = 2000; }}, style: 'tr.forum_head {display: none !important;}', From 2cf2435953c12e9e71d54becdfaa4df147172a4a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 12 Feb 2022 14:24:22 +0800 Subject: [PATCH 0019/1437] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index d03133eb9..1b4d1e43e 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,7 +3,7 @@ // @name:en Github Enhancement - High Speed Download // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 -// @version 1.8.2 +// @version 1.8.3 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:en High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files, project list file quick download (☁) @@ -67,11 +67,12 @@ //['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''], //['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''], ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', ''], - ['https://fastly.jsdelivr.net/gh','日本 1', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + ['https://fastly.jsdelivr.net/gh','日本 1', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], ['https://cdn.staticaly.com/gh','日本 2', '注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], ['https://raw.fastgit.org','日本 3', '注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], - ['https://cdn.jsdelivr.net/gh','美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'] + ['https://cdn.jsdelivr.net/gh','美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + ['https://raw.githubusercontents.com', '香港/新加坡等','该加速源有香港、新加坡、美国等服务器,并不固定。 - 该加速源不支持大小超过 1 MB 的文件。'] ], svg = [ '', From 738a7fbd503c90089215a8645a79a1602da204c9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Feb 2022 14:32:08 +0800 Subject: [PATCH 0020/1437] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[NexusMods]=20?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index 677640164..92326173a 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:en AutoPager // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 -// @version 4.6.9 +// @version 4.7.0 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:en Seamlessly stitch next page content (waterfall) @@ -2031,6 +2031,7 @@ function: { }, // 游民星空 - 攻略 nexusmods: { host: 'www.nexusmods.com', + functionS: function() {locationC = true; if (!(lp == '/' || indexOF(/\/mods\/\d+/))) {curSite = DBSite.nexusmods;}}, history: false, pager: { type: 1, @@ -6233,6 +6234,7 @@ function: { if (getCSS('.nexus-ui-blocker')) return let modList; if (indexOF('/news')) {modList = RH_NewsTabContent;} else {modList = RH_ModList;} + if (!modList) return let out_items = JSON.stringify(modList.out_items).replace(/{|}|"/g,''), nextNum = getXpath('//div[contains(@class, "pagenav")][1]//a[contains(@class, "page-selected")]/parent::li/following-sibling::li/a'), categories = modList.out_items.categories, categoriesUrl = ''; From cbf964475c32f9b5c7f410423765b8e89dd61173 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Feb 2022 21:36:42 +0800 Subject: [PATCH 0021/1437] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[ScienceAlert]?= =?UTF-8?q?=E3=80=81[=E6=96=B0=E4=B8=9C=E6=96=B9=E5=9C=A8=E7=BA=BF]?= =?UTF-8?q?=E3=80=81[188=E6=BC=AB=E7=94=BB=E7=BD=91]=20=E6=94=AF=E6=8C=81;?= =?UTF-8?q?=20=E6=9B=B4=E6=96=B0=20[=E7=88=B1=E6=BC=AB=E7=94=BB]=20?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 76 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 57 insertions(+), 19 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 92326173a..fded21f71 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:en AutoPager // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 -// @version 4.7.0 +// @version 4.7.1 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了... // @description:en Seamlessly stitch next page content (waterfall) @@ -539,7 +539,7 @@ function: { pageE: 'css;#search-result > *, style', insertP: ['css;#search-result', 3], replaceE: 'css;.pager', - scrollD: 2000 + scrollD: 1500 } }, // Yandex 搜索 yandex_video: { @@ -3050,17 +3050,17 @@ function: { } }, // 漫画皮 - 分类页 imanhuaw: { - host: ['www.imanhuaw.net', 'www.imanhuaw.com'], + host: ['www.imanhuaw.net', 'www.imanhuaw.com', 'www.ccshwy.com'], functionS: function() { if (getCSS('.mh-search-result')) { curSite = DBSite.imanhuaw_list; } else if (getCSS('a#zhankai')) { getCSS('a#zhankai').click(); - } else if (indexOF(/\/imanhua\/.+\/\d{3,}\.html/)) { + } else if (indexOF(/\/\d{3,}\.html/)) { curSite = DBSite.imanhuaw; imanhuaw_init(); } }, - style: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;}', + style: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;} #qTcms_Pic_middle img {max-width: 110%;height: auto;}', pager: { type: 4, nextL: imanhuaw_nextL, @@ -3070,7 +3070,7 @@ function: { interval: 2000, scrollD: 3000 } - }, // 爱漫画 + }, // 爱漫画 + 188漫画网 imanhuaw_list: { pager: { type: 1, @@ -5011,6 +5011,15 @@ function: { scrollD: 1500 } }, // 36氪 - 手机版 + sciencealert: { + host: 'www.sciencealert.com', + pager: { + type: 2, + nextL: 'css;.load-more', + nextTextOf: 'LOAD MORE', + scrollD: 2000 + } + }, // ScienceAlert zhutix: { host: 'zhutix.com', functionS: function() {if (getCSS('#post-list')) { @@ -5249,6 +5258,17 @@ function: { scrollD: 1000 } }, // 如意了教育 - 试卷 + koolearn: { + host: 'cet4.koolearn.com', + pager: { + type: 1, + nextL: 'id("page")/a[text()="下一页"]', + pageE: 'css;ul.xqy_entry_list > li,.xqy_core_text > p:not([style="text-align:center"])', + insertP: ['css;ul.xqy_entry_list,.xqy_core_text', 3], + replaceE: 'css;#page', + scrollD: 2500 + } + }, // 新东方在线 che168: { host: 'www.che168.com', functionS: function() { @@ -6508,11 +6528,35 @@ function: { } + // [爱漫画] 获取全部图片 + function imanhuaw_getIMG() { + let _img = '', _imgUrl; + for (let one of base64_decode(qTcms_S_m_murl_e).split("$qingtiandy$")) { + _imgUrl = one; + if (one.substring(0,1) == '/') { + _imgUrl = qTcms_m_weburl + _imgUrl; + } else { + if (qTcms_Pic_m_if != '2') { + one = one.replace(/\?/gi, 'a1a1'); + one = one.replace(/&/gi, 'b1b1'); + one = one.replace(/%/gi, 'c1c1'); + let m_httpurl = ''; + if (typeof(qTcms_S_m_mhttpurl) != 'undefined') m_httpurl = base64_decode(qTcms_S_m_mhttpurl); + if (location.hostname == 'www.ccshwy.com') qTcms_m_indexurl = 'http://h.ccshwy.com/'; + _imgUrl = qTcms_m_indexurl + 'statics/pic/?p=' + escape(one) + '&picid=' + qTcms_S_m_id + '&m_httpurl=' + escape(m_httpurl); + } else { + _imgUrl = _imgUrl.replace('http:', '') ; + _imgUrl = _imgUrl.replace('https:', ''); + } + } + _img += ``; + } + return _img; + } // [爱漫画] 初始化(调整本话其余图片) function imanhuaw_init() { - let _img = ''; - for (let one of base64_decode(qTcms_S_m_murl_e).split("$qingtiandy$")) {_img += ``;} - getOne(curSite.pager.insertP[0]).outerHTML = _img; + getOne(curSite.pager.insertP[0]).outerHTML = imanhuaw_getIMG(); + document.oncontextmenu = function(){} } // [爱漫画] 获取下一页地址 function imanhuaw_nextL() { @@ -6527,16 +6571,10 @@ function: { if (!pageElems) return // 插入并运行