-
Notifications
You must be signed in to change notification settings - Fork 153
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
How to use greasyfork #18
Comments
You'd have to get access to the scripts source code and manually install it with a url checking function like: function checkPageHost() {
var w = location.host;
if (w.indexOf("www.") === 0) {
w = w.replace("www.","");
}
if (w === "google.com") {
//code to run
}
} At the current moment there's no support for automatically installing scripts from Greasy Fork or pasting Tampermonkey scripts without editing. This functionality is being considered for future updates. |
Many userscripts also use GM_xxx() [GM3] or GM.xxx() [GM4] APIs to do their work; I haven't surveyed greasyfork to see what fraction are usable without those, but I imagine it would impact almost any script of substantial size. GM/TM/VM also pack a lot of semantic information into the header comment (include/exclude sites on which to be injected, etc.) It would be great to see full GM semantics... (personally I'd rather see GM3, I don't think the GM4 async API has particularly caught on with userscript authors, so userscript runners -- like GM4 itself -- which support only the GM4 API are sort of useless wrt the existing pool of userscripts) |
I am going to close this thread. Implementing GM metadata into this extension is beyond scope. I set out to create something simple to facilitate my userscript needs, until something better came along. I believe PageExtender is that something better. Perhaps a project can be spun up in the future to address the lack of "editor" that can easily ingest usersripts in the GM format, but I don't it will be this project - at least not in the near future. |
How can I install scripts from greasyfork
The text was updated successfully, but these errors were encountered: