Trusted-Types Helper

This is mainly to enable TamperMonkey to continue using scripts that have `@require` dependencies on sites with a restrictive `Trusted-Types` policy. At least until TM v4.14 comes out, the milestone has already been added: https://github.com/Tampermonkey/tampermonkey/issues/1334#event-5361683856 \n Make sure this script is executed before the `@require`ing of any dependencies

< Feedback on Trusted-Types Helper

Question/comment

§
Posted: 2021-09-28
Edited: 2021-09-28

Hi, I think there might be an error at line 36: the type used in the expression should be "undefined", not "unfefined".

§
Posted: 2021-09-28

😅 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

§
Posted: 2021-09-28

Had a look at my horribly outdated custom linter config and updated it. Much better ^^

Post reply

Sign in to post a reply.