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
< Commentaires sur Trusted-Types Helper
😅 argh, of course! Thank you!
Switching from GreaseMonkey 3.17, where you could edit the actual script files directly, with a real code editor, to TamperMonkey (GreaseMonkey >3.17 is just a shadow of its former self :/), I'm having to getting used to being more careful with typos that aren't flagged in the meager browser editor/linter ^^
Updated under the same version (no reason for the former state of this version to exist)
Thanks again
Had a look at my horribly outdated custom linter config and updated it. Much better ^^
Hi, I think there might be an error at line 36: the type used in the expression should be "undefined", not "unfefined".