From 273464104d59ce8f0e957b51725b232d0384c250 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 20 Jun 2023 10:57:15 +0800 Subject: [PATCH 001/611] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[ec.sod.co.jp]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 29854e2ee..49a5001a9 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5929,6 +5929,16 @@ "replaceE": ".c-pager-101" } }, + "ec.sod.co.jp": { + "host": "ec.sod.co.jp", + "url": "/^\\/prime\\/videos\\/genre\\/\\?/", + "blank": 4, + "pager": { + "nextL": ".page_list_li_on+.page_list_li>a", + "pageE": "#videos_s_mainbox", + "replaceE": "#page_list" + } + }, "7mmtv": { "host": "7mmtv.sx", "url": "return (document.title.indexOf('7mmtv') != -1 && fun.lp() != '/' && !fun.indexOF('_content/'))", From 733c9d6d987f0bf454e43dc75093b0bfc3527d73 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 20 Jun 2023 10:58:14 +0800 Subject: [PATCH 002/611] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[gog-games.to]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 49a5001a9..afe1ac83e 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2212,6 +2212,14 @@ "replaceE": ".wp-pagenavi" } }, + "gog-games.to": { + "host": "gog-games.to", + "url": "/^\\/search\\//", + "pager": { + "nextL": "span.btn.blue+a:not([disabled])", + "pageE": "a[data-id]" + } + }, "bilibili - 新版搜索页": { "host": "search.bilibili.com", "url": "fun.isUrlC(); return ((fun.lp() == '/all' || fun.lp() == '/video' || fun.lp() == '/pgc' || fun.lp() == '/article') && !fun.getCSS('ul.video-list') && !fun.getCSS('#article-list'))", From c7bfb22cc00730c28c54041169c32ee0286032f6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 21 Jun 2023 11:40:44 +0800 Subject: [PATCH 003/611] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[TorrentGalaxy]=20?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index afe1ac83e..5a45b23eb 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2687,13 +2687,13 @@ "replaceE": ".pages" } }, - "TorrentGalaxy.": { - "host": "torrentgalaxy.to", + "TorrentGalaxy": { + "host": "/^torrentgalaxy\\.[a-z]{2,6}$/", "url": "/^\\/torrents\\.php/", "blank": 3, "pager": { "nextL": "li.page-item.active+li.page-item>a", - "pageE": ".tgxtable", + "pageE": ".tgxtable>div:not(.header)", "replaceE": ".pagination" } }, From feffdd2d096b1e80b4157f40a361e10af4d38988 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 21 Jun 2023 11:55:27 +0800 Subject: [PATCH 004/611] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E4=B8=8A=E6=AC=A1?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=20replaceE=20=E5=90=8E=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=97=A0=20replaceE=20=E7=9A=84=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E7=BF=BB=E9=A1=B5=E5=87=BA=E7=8E=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 26c33f9de..b0eebfc90 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.5.1 +// @version 6.5.2 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、动漫屋、漫画猫、漫画屋、漫画 DB、动漫之家、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -2452,12 +2452,12 @@ function: { rE = getAll(r, pageE, pageE) } - if (oE.length != 0 && rE.length != 0 && oE.length === rE.length) { + if (oE && rE && oE.length != 0 && rE.length != 0 && oE.length === rE.length) { for (let i = 0; i < oE.length; i++) { oE[i].outerHTML = rE[i].outerHTML; } return true - } else {console.log(pageE,oE,rE)} + } else if (curSite.pager.replaceE !== undefined) {console.log(pageE,oE,rE)} return false } // 添加历史记录 From e00d602919eabbada89ab6a89da7846e8abcf233 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 26 Jun 2023 12:15:42 +0800 Subject: [PATCH 005/611] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[xgmn]=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 5a45b23eb..4575d8c56 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -6322,7 +6322,7 @@ } }, "极品性感美女": { - "host": ["www.xgmn.vip","www.xgmn01.xyz","www.jpmn5.com","www.jpmn5.cc"], + "host": ["www.xgmn.vip","/^www.xgmn\\d{2}.xyz$/","www.jpmn5.com","www.jpmn5.cc"], "url": "return (fun.lp() != '/' && !fun.indexOF('/search/'))", "pager": { "nextL": ".current+a", From 5b5d34bee2d0731f5d806d46e84c7c3ba4f3168d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 29 Jun 2023 12:40:43 +0800 Subject: [PATCH 006/611] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E9=A6=96=E9=A1=B5=E6=B4=BB=E5=8A=A8=E5=B9=BF=E5=91=8A?= =?UTF-8?q?]=20=E9=A1=B6=E9=83=A8=E6=90=9C=E7=B4=A2=E6=A1=86=E6=96=87?= =?UTF-8?q?=E5=AD=97=E4=B8=BA=E7=99=BD=E8=89=B2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Beautification.user.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Zhihu-Beautification.user.js b/Zhihu-Beautification.user.js index 77beff6c1..ea127599c 100644 --- a/Zhihu-Beautification.user.js +++ b/Zhihu-Beautification.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 知乎美化 -// @version 1.5.5 +// @version 1.5.6 // @author X.I.U // @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏 // @match *://www.zhihu.com/* @@ -192,13 +192,11 @@ html[data-theme="light"] header.AppHeader {background-color: #ffffff !important; html[data-theme="light"] header.AppHeader a[aria-label="知乎"] svg {filter: invert(57%) sepia(71%) saturate(949%) hue-rotate(190deg) brightness(86%) contrast(188%) !important;} html[data-theme="light"] .AppHeader-TabsLink {color: #8590a6 !important; font-weight: normal !important;} html[data-theme="light"] .AppHeader-userInfo Button svg, .SearchBar-searchButton svg {color: inherit !important;} +html[data-theme="light"] .AppHeader-userInfo button>div {color: #8590a6 !important;} html[data-theme="light"] .Input-wrapper.Input-wrapper--grey {background: #f6f6f6 !important;} -html[data-theme="light"] .AppHeader-SearchBar input.Input {color: #121212 !important;} -html[data-theme="light"] .AppHeader-SearchBar input::-webkit-input-placeholder {color: #a4a4a4 !important;} -html[data-theme="light"] .AppHeader-SearchBar input:-moz-placeholder {color: #a4a4a4 !important;} -html[data-theme="light"] .AppHeader-SearchBar input::-moz-placeholder {color: #a4a4a4 !important;} +html[data-theme="light"] .SearchBar input {color: #121212 !important;} +html[data-theme="light"] .SearchBar input::placeholder, html[data-theme="light"] .SearchBar input::-webkit-input-placeholder, html[data-theme="light"] {color: #919baf !important;} html[data-theme="light"] .Button--primary.Button--blue {color: #fff !important;background-color: #06f !important;} -html[data-theme="light"] .AppHeader-userInfo button>div {color: #8590a6 !important;} `, style_widescreenDisplayIndex = `/* 宽屏显示 - 首页 */ .Topstory-mainColumn, .QuestionWaiting-mainColumn {width: inherit !important;} From 4909eccd765a0aae32cbeb2b44abc0624ea5db53 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 4 Jul 2023 12:07:11 +0800 Subject: [PATCH 007/611] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[xmanhua]=20?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index b0eebfc90..1096e2f40 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.5.2 +// @version 6.5.3 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、动漫屋、漫画猫、漫画屋、漫画 DB、动漫之家、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -1075,9 +1075,10 @@ function: { } }, // 动漫屋 xmanhua: { - host: ['xmanhua.com', 'www.xmanhua.com'], + host: ['xmanhua.com', 'www.xmanhua.com','yymanhua.com','www.yymanhua.com'], url: ()=> {if (indexOF(/\/m\d+/)) { setTimeout(mangabz_init, 1500); + if (location.hostname.indexOf('xmanhua') != -1){unsafeWindow.MH_PREFIX23 = 'XMANHUA_'}else{unsafeWindow.MH_PREFIX23 = 'YYMANHUA_'} curSite = DBSite.xmanhua; } else if (indexOF(/\/\d+xm\//)) { if (getCSS('.detail-list-form-more')) getCSS('.detail-list-form-more').click(); @@ -1684,8 +1685,8 @@ function: { if (getCSS('#barChapter')) getCSS('#barChapter').removeAttribute('oncontextmenu'); if (getCSS('#cp_image')) { getCSS('#cp_image').removeAttribute('oncontextmenu'); - getCSS('#cp_image').removeAttribute('id'); getCSS('#cp_image').removeAttribute('style'); + getCSS('#cp_image').removeAttribute('id'); } } // [Mangabz 漫画] 获取下一页地址 @@ -1769,11 +1770,12 @@ function: { // [Xmanhua 漫画] 获取下一页地址 function xmanhua_nextL() { var url = ''; - if (XMANHUA_PAGE === XMANHUA_IMAGE_COUNT) { // 下一话 + console.log('111111111111111111111111',unsafeWindow[unsafeWindow.MH_PREFIX23+'CID']) + if (unsafeWindow[unsafeWindow.MH_PREFIX23+'PAGE'] === unsafeWindow[unsafeWindow.MH_PREFIX23+'IMAGE_COUNT']) { // 下一话 if (getNextE('//a[./img[contains(@src, "reader-bottom-right-2.png")]]')) getPageE_(curSite.pageUrl); // 访问下一话 URL 获取 } else { // 下一页 if (!mkey) var mkey = ''; - url = location.origin + location.pathname + 'chapterimage.ashx' + `?cid=${XMANHUA_CID}&page=${XMANHUA_PAGE + 1}&key=${(mkey)}&_cid=${XMANHUA_CID}&_mid=${XMANHUA_MID}&_dt=${XMANHUA_VIEWSIGN_DT}&_sign=${XMANHUA_VIEWSIGN}` + url = location.origin + location.pathname + 'chapterimage.ashx' + `?cid=${unsafeWindow[unsafeWindow.MH_PREFIX23+'CID']}&page=${unsafeWindow[unsafeWindow.MH_PREFIX23+'PAGE'] + 1}&key=${(mkey)}&_cid=${unsafeWindow[unsafeWindow.MH_PREFIX23+'_CID']}&_mid=${unsafeWindow[unsafeWindow.MH_PREFIX23+'MID']}&_dt=${unsafeWindow[unsafeWindow.MH_PREFIX23+'VIEWSIGN_DT']}&_sign=${unsafeWindow[unsafeWindow.MH_PREFIX23+'VIEWSIGN']}` if (url === curSite.pageUrl) return curSite.pageUrl = url //console.log(curSite.pageUrl) @@ -1789,8 +1791,8 @@ function: { for (let now of imgArr) {_img += ``;} if (_img) { getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), _img); // 将 img 标签插入到网页中 - XMANHUA_PAGE += imgArr.length; - addHistory(pageE, document.title, location.origin + XMANHUA_CURL.substring(0, XMANHUA_CURL.length - 1) + '-p' + XMANHUA_PAGE + '/'); + unsafeWindow[unsafeWindow.MH_PREFIX23+'PAGE'] += imgArr.length; + addHistory(pageE, document.title, location.origin + unsafeWindow[unsafeWindow.MH_PREFIX23+'CURL'].substring(0, unsafeWindow[unsafeWindow.MH_PREFIX23+'CURL'].length - 1) + '-p' + unsafeWindow[unsafeWindow.MH_PREFIX23+'PAGE'] + '/'); } } else { // 下一话 // 插入