Diskuse » Greasy Fork Feedback
請問為什麼無法更新此腳本 / Why can't I update this script?
代码问题?,我用这个脚本的头部声明发布新脚本能够发布。但是复制全部代码就不行了
代码问题?,我用这个脚本的头部声明发布新脚本能够发布。但是复制全部代码就不行了
脚本主要代码和window.open()用来注入的代码,主控台也都没报错,脚本运行良好。
用https://www.diffchecker.com/比对2.7.11和2.7.18的代码差异,也看不出来哪里有问题。
2.7.11和2.7.12的修改历史
https://github.com/skofkyo/AutoPager/commit/5376f548dbe842de192fa7ec7f04d333aa64f8f4
也看不出哪里有问题。
就是从2.7.12开始无法更新。
代码问题?,我用这个脚本的头部声明发布新脚本能够发布。但是复制全部代码就不行了 脚本主要代码和window.open()用来注入的代码,主控台也都没报错,脚本运行良好。用https://www.diffchecker.com/比对2.7.11和2.7.18的代码差异,也看不出来哪里有问题。2.7.11和2.7.12的修改历史https://github.com/skofkyo/AutoPager/commit/5376f548dbe842de192fa7ec7f04d333aa64f8f4也看不出哪里有问题。就是从2.7.12开始无法更新。
你2.7.11我能导入,2.7.12的代码不合网站规格?
抓出被Greasy Fork判斷為有問題的代碼了
, { name: "野貓韓漫 閱讀頁", host: ["www.yemaohanman.com"], reg: () => fun.checkUrl({ h: "yemaohanman", p: "/read/" }), imgs: ".module img", button: [4], insertImg: [".module", 2], autoDownload: [0], next: "//a[text()='下一章'][starts-with(@href,'/read/')]", prev: "//a[text()='上一章'][starts-with(@href,'/read/')]", customTitle: () => { let text = fun.attr("meta[name=keywords]", "content"); let textArr = text.split(",").map(t => t.trim()); let [, comicName, chapterName] = textArr; return comicName + " - " + chapterName; }, category: "hcomic" }, { name: "野貓韓漫 目錄頁", host: ["www.yemaohanman.com"], reg: () => fun.checkUrl({ h: "yemaohanman", p: "/m/" }), init: () => fun.createImgBox(".module-info", 2), imgs: () => { let links = fun.gau(".module-play-list a"); return fun.getImgA(".module img", links); }, button: [4], insertImg: ["#FullPictureLoadMainImgBox", 3], customTitle: ".module-info-heading h1", category: "hcomic" }
最關鍵的部分,包含yemaohanman這些字串就不行,難道Greasy Fork也有敏感詞這一說法?
host: ["www.yemaohanman.com"], reg: () => fun.checkUrl({ h: "yemaohanman", p: "/read/" }), reg: () => fun.checkUrl({ h: "yemaohanman", p: "/m/" }),
刪掉域名的部分就能正常更新同步了,附github的修改歷史。
https://github.com/skofkyo/AutoPager/commit/e5f3d22636ed244056a2e220ba7349f0a89ae2ab
一整個莫名其妙
应该是代码里不能有网址吧
应该是代码里不能有网址吧
代码里有网址不是很正常嘛
請問為什麼無法更新此腳本
https://greasyfork.org/scripts/463305
同步腳本
https://raw.githubusercontent.com/skofkyo/AutoPager/main/CustomPictureDownload/FullPictureLoad.user.js
不論是更新腳本還是同步腳本都提示
This script is not allowed.
代碼有哪裡違反Greasy Fork的規範嗎?
Why can't I update this script?
https://greasyfork.org/scripts/463305
Sync script
https://raw.githubusercontent.com/skofkyo/AutoPager/main/CustomPictureDownload/FullPictureLoad.user.js
No matter it is an update script or a synchronization script, it prompts
This script is not allowed.
Does the code violate Greasy Fork's specifications?