Greasy Fork is available in English.

Discussões » Feedback do Greasy Fork

Fail to require Library script from this site.

§
Publicado: 28/03/2014
Editado: 28/03/2014

Fail to require Library script from this site.

The problem is, Grease Monkey [1.15; Firefox 28] OVERWRITES the script file with the library JS downloaded, because they all have the same name: code.user.js

My suggestion is, maybe for the library files, have an alternative url such as //greasyfork.org/lib/lib.<ID>.js ?
Thanks :3

§
Publicado: 28/03/2014

Thanks :3

§
Publicado: 01/04/2014

I created these scripts to test this:

https://greasyfork.org/scripts/240
https://greasyfork.org/scripts/241

#1 @requires a script that alerts "Require #1", #2 @requires a script that alerts "Require #2". Both run on google.com. Both @requires have the same file name, but a different path.

This seems to work fine for me...

§
Publicado: 02/04/2014

Sorry for the late reply...
It did happen to me, and it's weird to reproduce the bug..
1. Install the script "https://greasyfork.org/scripts/103"
2. Add // @require https://greasyfork.org/scripts/216/code.user.js?06
3. Visit any site matches the rule.
4. Script replaced by the lib file.

I don't know what's going on :<
Maybe I should try remove the directory it completely and they paste the script back... ? Because the testing script did workout and the file auto renamed to code.user-0.js and so.
Thanks for the reply anyway :>

§
Publicado: 02/04/2014
Editado: 02/04/2014
and it's weird to reproduce the bug..

Yeah, I used the same method (editing a script and add @require).

I closed the issue, for now.

§
Publicado: 02/04/2014

Weird. Looks like a Greasemonkey bug rather than an intended behaviour. Filed https://github.com/greasemonkey/greasemonkey/issues/1906

§
Publicado: 03/04/2014

Thanks ^^

Publicar resposta

Faça o login para publicar uma resposta.