مۇنازىرىلەر » Greasy Fork قا ئىنكاس
External script code is minified
There are obvious loopholes in the rules for external scripts.
- The script on Greasy For was deleted because of "Minified code", but its code was not deleted. Another script introduces the code of this deleted script, the deleted script comes from an approved source Greasy Fork, so another script does not violate the rules.
- The script have only the code used to introduce external scripts, no other code. Or the core code of the script comes from external scripts. The external scripts are written by the script author himself. The external scripts are minified. Doing so does not violate the rules.
If the external script is minified, its corresponding project needs at least 2 people to participate, and must reach a certain amount of installation or a certain number of collections. In this way, we can assume that this external script is safe. The rules need to be improved.
The rules do not say that external scripts cannot be obfuscated. So external scripts can be obfuscated. The rules need to be improved.
My opinion:
- If the minified external script is a library, it must have function descriptions and usage documents. This proves that it is a library, not a script.
- If the minified external script is not a library, it is a script. This external script is not allowed to be imported.
I can't find a suitable example for the time being.
My opinion:
- If the minified external script is a library, it must have function descriptions and usage documents. This proves that it is a library, not a script.
- If the minified external script is not a library, it is a script. This external script is not allowed to be imported.
I can't find a suitable example for the time being.
I agree with your opinion.
https://greasyfork.org/en/scripts/14466-gwdang is an exapmple. This main code of user script is on the @require
.
Greasy Fork's rules for posted scripts
Can the code of the external script be obfuscated or minified? External scripts come from allowed websites, but:
Since it needs to be dealt with in different situations, Greasy Fork should write these situations into the rules.