Block Youtube Users

Hide videos of blacklisted users/channels and comments

< Opinie na Block Youtube Users

Ocena: Dobry - skrypt działa

§
Napisano: 27-06-2025

I'm getting an error because the policy name default is a duplicate of another extension. Is it possible to change it to something else???
I'm currently manually editing it to be something other than default, but it seems to be working fine.

Error:
Uncaught TypeError: Failed to execute 'createPolicy' on 'TrustedTypePolicyFactory': Policy with name "default" already exists.

Related line:
window.trustedTypes.createPolicy('default', {createScriptURL: s => s, createScript: s => s, createHTML: s => s})

ScheggeAutor
§
Napisano: 29-06-2025

Script updated. Let me know if the error still occurs

§
Napisano: 30-06-2025

It works without any issues.

Odpowiedz

Zaloguj się, by odpowiedzieć.