Firefox 161 ships CSS random(), Typed OM and compression dictionaries for smaller bundle updates
Firefox 161, out 24 Nov 2026, adds CSS random(), the CSS Typed Object Model, Compression Dictionary Transport and custom clipboard formats.

TL;DR
- Firefox 161 reached the Release channel on 24 November 2026 with CSS random() and the CSS Typed Object Model [1][2].
- Compression Dictionary Transport lets servers send resources compressed against an earlier stored version, which can shrink JavaScript bundles that change little [2].
- Users get a custom copy-URL shortcut, per-site rules for the built-in VPN, and a fire button that is rolling out gradually [1].
Mozilla released Firefox 161 to the Release channel on 24 November 2026 [1][2]. For web developers the main additions are the CSS random() function, the CSS Typed Object Model and Compression Dictionary Transport, a way to cut download size for files that change little between versions [2].
What changes for web developers
random() generates a random value within a range, can be limited to steps of a given size, and takes an optional <random-key> so several random() calls on different elements or properties share the same random base value [2]. var(), attr() and env() now accept nested functions in their first parameter, for example var(attr(data-theme-prop type(<custom-ident>))) [1][2].
The CSS Typed Object Model lets scripts read and write CSS values as typed JavaScript objects instead of strings, through Element.computedStyleMap() and HTMLElement.attributeStyleMap [2]. Colour value interfaces such as CSSColorValue are not supported, and MDN notes no browser supports them [2].
Compression dictionaries
With Compression Dictionary Transport, a server marks a response as a dictionary with the Use-As-Dictionary header [2]. Firefox then lists the stored dictionary in the Available-Dictionary header of matching requests, and the server can reply with content compressed against it using the dcb (Brotli) or dcz (Zstandard) encodings [2]. MDN says this can greatly reduce the size of resources such as JavaScript bundles that change little between releases [2].
Other APIs and testing
The Clipboard API now accepts custom formats: a MIME type prefixed with "web ", readable only by a page on the same origin as the one that wrote it [2]. NavigationTransition.to tells code outside the navigate handler where a navigation is going, and SVG <image>, <script> and <feImage> gain the referrerpolicy attribute [2]. For test automation, WebDriver BiDi fixes include network.continueRequest now updating Content-Length when it replaces a body, and browsingContext.setViewport no longer slowing down over a session [2]. margin-trim for block containers ships disabled behind layout.css.margin-trim.enabled [2].
For everyday users
Firefox 161 lets users copy the current tab’s URL with a keyboard shortcut they assign themselves, as none is set by default [1]. The built-in VPN can be switched on or off for specific sites [1]. A new toolbar fire button deletes browsing data, and saving card security codes (CVV/CVC) for autofill arrives too; both are rolling out gradually [1]. The release also fixes WebRTC calls on some services that sent low-resolution H.264 video since Firefox 158 [1].
Sources
Written and checked by AI from the sources below
Fact-checked by gpt-6.1-sol on · Editorial policy



