Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by TeMPOraL on Tuesday February 24, 2026 @01:40AM
(#47133631)
I'm torn on whether to see this "AI Kill switch" as a win on respecting the users, or something to keep us distractewd while they ship through "Trusted Types" API that sounds like further restriction of end-user computing freedoms.
[ Parent
| on HN ]
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by LiamPowell on Tuesday February 24, 2026 @02:10AM
(#47133838)
I would absolutely love to hear your reasoning that leads to type systems being considered a "restriction of end-user computing freedoms".
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.
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.
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by duskdozer on Tuesday February 24, 2026 @06:06AM
(#47135619)
Oh just great. The web is bad enough already, I think I'll have to go live in the woods if userscripts get kneecapped
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by lastorset on Tuesday February 24, 2026 @02:47AM
(#47134104)
You may be thinking of the much-hated "Trusted Computing" initiative. "Trusted" here means that the JavaScript dev picks a sanitizing library they trust, not that Mozilla decides what software is trustworthy.
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by TeMPOraL on Tuesday February 24, 2026 @03:57AM
(#47134641)
Nah, my issue isn't with users vs. Mozilla, but users vs. "JavaScript dev", specifically the difference of opinion on who should have final say on what gets executed and what doesn't.
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by debugnik on Tuesday February 24, 2026 @02:37AM
(#47134039)
Aren't those just overengineered sanitizers?
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by TeMPOraL on Tuesday February 24, 2026 @02:44AM
(#47134080)
Question is, can you sidestep or disable them in user scripts or in developer tools, without disabling CSP entirely or doing something even more invasive (and generally precluding use of that browser instance for browsing)?
Re:Firefox 148 Launches with AI Kill Switch Feature and More...
by evilpie on Tuesday February 24, 2026 @03:54AM
(#47134615)
We made sure to exclude WebExtensions code from web pages's Trusted Types restrictions enforcement. (Bugs can happen of course)