YouTube Comment Snub

Hide comments by specific users in the comments section.

< Feedback on YouTube Comment Snub

Review: Good - script works

aha
§
Posted: 2019-01-01
Edited: 2019-01-01

"GM is not defined"

The script does unfortunately not work. Console output from Firefox:

[Violentmonkey][page][YouTube - Comment Snub]
ReferenceError: GM is not defined
GM is not defined

If I click on the icon I get this:

ReferenceError: GM is not defined
quarantineUser
stinkrockAuthor
§
Posted: 2019-01-02

This is due to lack of support for Greasemonkey 4.0 scripts.

Violentmonkey 2.10 doesn't have support for GM.* API according to the docs https://violentmonkey.github.io/api/, and I don't think the author has plans to add support. This forces script developers to add polyfills (or patches) to every script that uses the GM.* API, or avoid the API altogether.

aha
§
Posted: 2019-01-02

I see. I had another script running which didn't work with Greasemonkey, but now I installed Greasemonkey and this script is working fine. Thank you!

Post reply

Sign in to post a reply.