Block Youtube Users

Hide videos of blacklisted users/channels and comments

< Feedback de Block Youtube Users

Avaliação: Bom - o script funciona

§
Publicado em: 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
§
Publicado em: 29/06/2025

Script updated. Let me know if the error still occurs

§
Publicado em: 30/06/2025

It works without any issues.

Enviar resposta

Entre para publicar uma resposta.