New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GM_info does not expose resources corresponding URL #2281
Comments
See http://wiki.greasespot.net/GM_getResourceURL (see also #1610) |
Additionally please take a look at the commented lines: // 'icon' (but see also #1644) and next object properties: userExcludes |
@janekptacijarabaci I'm conflicted for various reasons; if you'd like to see |
I don't think that documentation was ever right, even in version 1.2 (which it mentions) it was always how it is today ( https://github.com/greasemonkey/greasemonkey/blob/1.2/modules/script.js#L459 ). I'm going to update the documentation to match reality, and also add a "url" property, to move reality closer to the original documentation. |
It was just for information. Rather for completeness. But thank you for the info. |
Hello.
Quoting from the wiki article:
Unfortunately,
GM.script.resources
is an object like this:There is no way to get the original URL as
some/path/resource
.Is this a bug? Is it possible to add the resources corresponding URL, please, as stated in the documentation?
I am using Firefox 40.0.3 and GreaseMonkey 3.4.1.
The text was updated successfully, but these errors were encountered: