讨论 » Greasy Fork 反馈

There should be a universal domain for library scripts and downloadURL/updateURL

§
发表于:2025-02-10
编辑于:2025-02-10

Now we have 3 domains - greatest.deepsurf.us, sleazyfork.org, cn-greatest.deepsurf.us

For sleazyfork vs greasyfork, it is to differentiate the users over 18 or not.

For cn-greasyfork vs greasyfork, it is to differentiate the users from Mainland China or not.

However, when you use the IP counting the hit rates (per user per 24 hr), you should set up a universal domain. There would be no discussion or login features in this domain. This domain is purely generating the CDN-like contents for the scripting.

So the scripts can use the same domain without the concern of domain blocking due to greatest.deepsurf.us / sleazyfork.org / cn-greatest.deepsurf.us.

This domain should be applied to

  1. // @require https://{{universalDomain}}/scripts/xxxxxx/yyyyyyy/{{LibraryScript}}.js
  2. // @downloadURL https://{{universalDomain}}/scripts/xxxxxx/{{UserJS}}.user.js
  3. // @updateURL https://{{universalDomain}}/scripts/xxxxxx/{{UserJS}}.user.js

https://{{universalDomain}}/, https://{{universalDomain}}/scripts/, https://{{universalDomain}}/scripts/xxxx/ would be just a plain blank HTML page.

Robots.txt should be set to deny all searching.

This might be also applied to the XXXX.json.

§
发表于:2025-02-10

Like Github.com -> raw.githubusercontent.com

JasonBarnabe管理员
§
发表于:2025-02-11

And what happens when China decides to block this new universal domain?

§
发表于:2025-02-11

And what happens when China decides to block this new universal domain?

China has blocked github.com but not raw.githubusercontent.com

Static sites would not get blocked.

JasonBarnabe管理员
§
发表于:2025-02-11

update.greatest.deepsurf.us is static and got blocked. There's no rule book for what the CCP does.

I would recommend that authors not use Greasy Fork as a CDN for their @requires but instead use actual CDNs.

§
发表于:2025-02-11

CCP blocks the top domain "greatest.deepsurf.us" so "update.greatest.deepsurf.us" is also get blocked.

发表回复

登录以发表回复。