Greasy Fork is available in English.

YouTube Comment Snub

Hide comments by specific users in the comments section.

< 脚本YouTube Comment Snub的反馈

评价:好评 - 脚本运行良好

aha
§
发表于:2019-01-01
编辑于: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
stinkrock作者
§
发表于: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
§
发表于: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!

发表回复

登录以发表回复。