Block Youtube Users

Hide videos of blacklisted users/channels and comments

< 腳本Block Youtube Users的回應

評論:正評 - 腳本一切正常

§
發表於:2025-06-27

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})

Schegge作者
§
發表於:2025-06-29

Script updated. Let me know if the error still occurs

§
發表於:2025-06-30

It works without any issues.

發表回覆

登入以回覆

长期地址
遇到问题?请前往 GitHub 提 Issues。