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 001/607] =?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 002/607] =?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 003/607] =?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 { // 下一话 // 插入