Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by TeMPOraL on Tuesday February 24, 2026 @02:40AM
(#47134055)
Skimming the API docs on MDN, it makes sure the site vendor gets to run filtering code over anything you'd want to inject via e.g. user script or console, securing it with CSP. I expect this to make user scripts work as well as they do on Chrome now. If there's a workaround, I'd love to hear about it.
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by LiamPowell on Tuesday February 24, 2026 @03:11AM
(#47134289)
Worst case you just run your userscript before any policies are created, but in most cases it's not going to impact userscripts.
For those that don't know what trusted types are: Simply put, it splits the string type in to unsanitised_string_from_user and safe_escaped_string where unsafe strings can not be used in function parameters that only take a safe string That's heavily simplifying of course, but it's the basic idea.