You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greasemonkey changed its api and made it non-backwards compatible. You'd have to add a @grant GM.addStyle and use it as you would a promise. There is a polyfill, but the author wasn't very helpful so I decided to not bother making my userscripts compatible - see greasemonkey/greasemonkey#2787.
I guess I could look at it again, but adding two different @grant entries for each method is troublesome.
Greasemonkey changed its api and made it non-backwards compatible.
😞
but adding two different @grant entries for each method is troublesome
If it solves the issue, it definetely will be helpful for people who'd like to use your userscripts. I don't think it's worth to fight with Greasemonkey developers 😝
The following shows up in Firefox's developer console after installation of your "GitHub table of contents" userscript in Greasemonkey:

That's weird, because there is a
@grant GM_addStyle
in the code...The text was updated successfully, but these errors were encountered: