Greasy Fork is available in English.

Block Youtube Users

Hide videos of blacklisted users/channels and comments

< 脚本Block Youtube Users的反馈

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

§
发表于:2024-10-13

I got it to work again on Brave (maybe it'll work on other Chromium-based browsers).

Change jQuery to a beta version editing line 16 to // @require https://code.jquery.com/jquery-4.0.0-beta.js

Append this code on line 18:

if (window.trustedTypes && window.trustedTypes.createPolicy) {
window.trustedTypes.createPolicy('default', {
createHTML: string => string,
createScriptURL: string => string,
createScript: string => string,
});
}

§
发表于:2024-10-13

...Append this code...

Instead of that edit, consider using script Trusted-Types Helper. I reordered it to the top of all my installed scripts. Give it a try.

§
发表于:2024-10-15

I got it to work again on Brave (maybe it'll work on other Chromium-based browsers).

Change jQuery to a beta version editing line 16 to // @require https://code.jquery.com/jquery-4.0.0-beta.js

Append this code on line 18:

if (window.trustedTypes && window.trustedTypes.createPolicy) {
window.trustedTypes.createPolicy('default', {
createHTML: string => string,
createScriptURL: string => string,
createScript: string => string,
});
}

Works in Vivaldi! Thx

§
发表于:2024-10-26

How is this supposed to help me in Firefox? This script has not been working properly for 8 months. Therefore, this script has become the purest scrap for me.

§
发表于:2024-10-26

I got it to work again on Brave (maybe it'll work on other Chromium-based browsers).

Change jQuery to a beta version editing line 16 to // @require https://code.jquery.com/jquery-4.0.0-beta.js

Append this code on line 18:

if (window.trustedTypes && window.trustedTypes.createPolicy) {
window.trustedTypes.createPolicy('default', {
createHTML: string => string,
createScriptURL: string => string,
createScript: string => string,
});
}

Works in Vivaldi! Thx

Your bullshit script tip doesn't help a bit.I tried to block a user as a test, but it didn't work.

§
发表于:2024-10-26
Your bullshit script tip doesn't help a bit.

It wasn't a tip. It was a statement of the efing obvious.

I tried to block a user as a test, but it didn't work.

You're just dumb. That's ok. Go huff some glue or something.

§
发表于:2024-10-26
编辑于:2024-10-26

@Fabian Wenzel -

Your bullshit script tip doesn't help a bit.I tried to block a user as a test, but it didn't work.

woah-woah, what's up with the insults??

Did you try my suggestion? -

consider using script Trusted-Types Helper. I reordered it to the top of all my installed scripts. Give it a try.

I'm also using Firefox, and BYU script is working for my build.

发表回复

登录以发表回复。