Trusted-Types Helper

I mainly wrote this in 2021 to enable TamperMonkey to continue using scripts that have `@require` dependencies on sites with a restrictive `Trusted-Types` policy, until TM v4.14 came out (milestone: https://github.com/Tampermonkey/tampermonkey/issues/1334#event-5361683856). Now it seems like some cases make it relevant again? I think that should be only temporary until the TM team get on top of what ever changed. Make sure this script is executed before the `@require`ing of any dependencies

< 腳本Trusted-Types Helper的回應

提問/評論

§
發表於:2024-08-01

I am going to use your code to fix the issues on my YouTube UserScripts.

I will credit to you and mention this url https://gf.qytechs.cn/en/scripts/433051-trusted-types-helper

Please let me know if it is not okay for you.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址