greasyfork-org / greasyfork

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

[Bug] Incorrect `@require` url shown in library scripts #1206

Closed cyfung1031 closed 10 months ago

cyfung1031 commented 10 months ago

Example

https://greasyfork.org/en/scripts/479598-myjscodelibrary

Screen Shot 2023-11-13 at 17 42 45

The path https://update.greasyfork.org/scripts/479598/1279054/MyJSCodeLibrary.user.js is invalid.

The correct path is https://update.greasyfork.org/scripts/479598/1279054/MyJSCodeLibrary.js

@JasonBarnabe Please fix

JasonBarnabe commented 10 months ago

Fixed in 430fb59596514e4e6a5a5dd570d0da2d03f4cacf.

WhiteSevs commented 10 months ago

Fixed in 430fb59.

现在还是存在问题

// @require      https://update.greasyfork.org/scripts/449471/1249086/Viewer.js
// @require      https://update.greasyfork.org/scripts/455186/1281176/WhiteSevsUtils.js
// @require      https://update.greasyfork.org/scripts/465772/1274595/DOMUtils.js

https://picshack.net/ib/a24jlqqfJ2.png

@JasonBarnabe

JasonBarnabe commented 10 months ago

I've added update.greasyfork.org to the list of allowed CDNs.

WhiteSevs commented 10 months ago

I've added update.greasyfork.org to the list of allowed CDNs.

ok,现在可以正常同步了