GitHub-userscripts icon indicating copy to clipboard operation
GitHub-userscripts copied to clipboard

Cannot use issue-colorpicker in GreaseMonkey "GM_addStyle is not defined"

Open douglasg14b opened this issue 6 years ago • 2 comments

Tittle pretty much covers it. Can't use GM_addStyle in greasemonkey 4 as it's been deprecated...

douglasg14b avatar Jul 16 '19 21:07 douglasg14b

Hi @douglasg14b!

I may look into this (see https://github.com/Mottie/GitHub-userscripts/issues/29#issuecomment-354628733), but I've been leaning toward not supporting GM4. The GM_ commands in GM4 are not deprecated, support was completely dropped. Yes, I understand that a major version bump implies that there are breaking changes, but to implement that change without warning or discussion and then insist that the polyfill not have a version number makes the whole situation even more ridiculous.

Try Tampermonkey.

Mottie avatar Jul 17 '19 00:07 Mottie

Yeah.... that's not nice of them at all.

A lot of my personal user-scripts completely broke when I updated to GS 4 in my browser. And I've all but abandoned my library of them because of it.

I didn't even realize I could get TamperMonkey for Firefox :o Could have sworn it used to just be GM.

douglasg14b avatar Jul 17 '19 00:07 douglasg14b