Get information from Greasy Fork and do actions in it.
< Σχολιασμός για τον κώδικα Greasy Fork API
I'm currently rewriting entire library because code right now really sucks, I'm almost done, I will publish code in 2–5 days.
I already published the code 2 days ago, you can try new version. (Method name - installScript
)
Here's a bug report.
GF.action
throws Error 'Argument 1 install is not defined' duringGF.action('install', {id: someGreasyforkScriptId})
Looking into the code, these
if
s are missingelse
statement orreturn
statement, which caused this bug:I'd really appreciate if you could fix this code. But no worries if you can't get to it - I can also make the changes myself and redistribute to greasyfork (under LGPL). Thanks!