YouTube Comment Snub

Hide comments by specific users in the comments section.

< Feedback de YouTube Comment Snub

Avaliação: Bom - o script funciona

aha
§
Publicado em: 01/01/2019
Editado em: 01/01/2019

"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
stinkrockAutor
§
Publicado em: 02/01/2019

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
§
Publicado em: 02/01/2019

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!

Enviar resposta

Entre para publicar uma resposta.