greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.41k stars 422 forks source link

Add SUSTECH & Zstatic CDN #1282

Closed famousprince closed 5 days ago

famousprince commented 5 days ago

BootCDN and StaticFile have been removed due to potential supply chain attack risks, see https://greasyfork.org/en/discussions/development/249443-polyfill-supply-chain-attack-bootcdn-and-staticfile

However, due to CDNs in the allowed list such as ByteDance and baomitu have problems such as resources too stale, and unpkg.com cdnjs.cloudflare.com blocked by ISPs or poor performace in China, I sincerely request to add mirrors.sustech.edu.cn and s4.zstatic.net.

The usage are:

mirrors.sustech.edu.cn/cdnjs/ajax/libs/ s4.zstatic.net/ajax/libs (Just like cdnjs.cloudflare.com)

Content from these two CDNs are only synced from CDNjs and other arbitrary files are strictly disallowed, see https://mirrors.sustech.edu.cn/help/cdnjs.html and https://www.zstatic.net/.

JasonBarnabe commented 5 days ago

I like how the idea is to replace a CDN with a security vulnerability with one called sustech.

JasonBarnabe commented 5 days ago

Added sustech and zstatic.