-
Notifications
You must be signed in to change notification settings - Fork 218
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
Implement getResourceURL, getResourceText, @resource
#224
Comments
Here's another userscript that has a dependency on GM_getResourceText: It might be helpful in validating your implementation, whenever you get around to it. More info at author's github page Thanks for a very nice Safari extension! |
I was looking for this exactly. I have many scripts that rely on something like this:
In addition, in contrast to tampermonkey and other script managers, it would be cool if the default cache behaviour is no-cache. Thank you! |
@onatbas this will be in the next api update which should happen soonish
Can you elaborate on this? The current plan is to implement this in a way that is similar to Greasemonkey and Violentmonkey. This will probably function in a similar way as I should also note, the exact way this would be implemented is not fully realized, so I am open to suggestions. |
In Tampermonkey settings, under the "Externals" section, it'll let you choose the update interval for the external resources. You can set it to "Always," which means downloading a fresh copy of external resources every time, without needing any change in the key whatsoever. By default, this setting is set to "Every Day" in Tampermonkey, but I use it in "Always" mode to get a fresh copy. |
HI, more or less, when getResourceURL and getResourceText will be implemented? |
@michael1900 any time estimate I give would be arbitrary, all I can say is that it is not in active development by any of the contributors that I am aware of. I do not think it should be done before #331 as I believe this API would rely on the |
This comment was marked as off-topic.
This comment was marked as off-topic.
I can not tell when this will get worked on. Please remember, this is an open source project. We work on it in our spare time. Anyone (including you) are welcome to contribute, especially if you feel the passionately about a feature. |
This comment was marked as off-topic.
This comment was marked as off-topic.
For those who are looking forward to this API, this will be implemented after #451 is completed, thanks for your patience. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Feel free to make a pull request @michael1900 |
It looks like Greasemonkey haven't implement So if we're not going to implement the old Synchronous APIs #189, we'll probably just implement GM.getResourceUrl. |
No description provided.
The text was updated successfully, but these errors were encountered: