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-11-24

This will lii the https://copilot.microsoft.com/ web

§
發表於:2025-01-05
編輯:2025-01-05

I made a modified version, but just to add default TTP.

You can try this.

https://gf.qytechs.cn/scripts/522884-default-trusted-types-policy-for-all-pages

發表回覆

登入以回復

QingJ © 2025

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