axetroy / anti-redirect

:rocket:去除各搜索引擎/常用网站的重定向
https://greasyfork.org/zh-CN/scripts/11915
Other
503 stars 26 forks source link

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

Closed DeepChirp closed 1 year ago

DeepChirp commented 3 years ago

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

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

axetroy commented 3 years ago

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

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

Geeyun-JY3 commented 3 years ago

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

DeepChirp commented 3 years ago

和我参与维护的一个项目应该也差不多,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),懒得与其斗智斗勇所以放弃了。

axetroy commented 1 year ago

请使用 CDN 进行加载

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