anti-redirect icon indicating copy to clipboard operation
anti-redirect copied to clipboard

能否将脚本上传到国内用户方便访问的地方呢

Open DeepChirp opened this issue 2 years ago • 3 comments

您好! GreasyFork上的脚本被删除了,但是GitHub在国内不能直接访问,所以能否将脚本上传到国内用户方便访问的地方呢?jsDelivr可能是一个不错的选择。谢谢!

可用的链接:https://cdn.jsdelivr.net/gh/axetroy/anti-redirect@gh-pages/anti-redirect.user.js

DeepChirp avatar Aug 17 '21 09:08 DeepChirp

GreasyFork 上面玩的就是溜,举报就举报了嘛,点击申诉就 502

后面考虑放在国内的一个 cdn,或者同步到国内的 gitee 也不错

axetroy avatar Aug 17 '21 10:08 axetroy

和隔壁应该是类似的:https://github.com/machsix/Super-preloader/issues/641 最近 Greasy Fork 不少脚本都是这样被删的。这新规的实行确实激进了些,也没给什么过渡期。

Geeyun-JY3 avatar Aug 22 '21 13:08 Geeyun-JY3

和我参与维护的一个项目应该也差不多,https://github.com/rxliuli/userjs#%E4%B8%BA%E4%BB%80%E4%B9%88%E6%B2%A1%E6%9C%89%E5%8F%91%E5%B8%83%E5%88%B0-greasyfork-%E4%B8%8A

事实上,它们删了吾辈的用户脚本。由于它们要求所有的代码不能压缩,而第三方依赖(例如 react)默认会压缩,只能通过 @require 引入,但并非所有 npm 包都支持 iife(浏览器专用)的格式(一般支持 esm/cjs),懒得与其斗智斗勇所以放弃了。

DeepChirp avatar Aug 22 '21 14:08 DeepChirp

请使用 CDN 进行加载

https://cdn.jsdelivr.net/gh/axetroy/anti-redirect@gh-pages/anti-redirect.user.js

axetroy avatar Jul 20 '23 16:07 axetroy