---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=mozilla-hacks&tag=javascript"
---

# Posts

Filtered by topics: JavaScript, source: Mozilla Hacks.

Posts 1–14 of 14, page 1 of 1, newest first.

## 2026-02-24

- [Goodbye innerHTML, Hello setHTML: Stronger XSS Protection in Firefox 148](https://swe.quest/articles/goodbye-innerhtml-hello-sethtml-stronger-xss-protection-in-firefox-148-e1f8d6dcc75d2421.md): Mozilla Hacks · 2026-02-24 · Medium · 2 min read · Application security, Browsers, JavaScript
  Firefox 148 is the first browser to ship the standardized Sanitizer API, whose setHTML() method sanitizes untrusted HTML as it is inserted into the DOM, for example stripping an \<img\> with an onclick handler while keeping safe elements like \<h1\>.

## 2024-08-07

- [Announcing Official Puppeteer Support for Firefox](https://swe.quest/articles/announcing-official-puppeteer-support-for-firefox-aa74f7c1642a1bdc.md): Mozilla Hacks · 2024-08-07 · Medium · 9 min read · Testing, Browsers, JavaScript, Developer tools
  Puppeteer 23 adds first-class Firefox support, built on the W3C WebDriver BiDi protocol rather than a Firefox-specific protocol, so the same automation and end-to-end tests can run against Chrome and Firefox by setting browser: "firefox".

## 2023-12-12

- [Puppeteer Support for the Cross-Browser WebDriver BiDi Standard](https://swe.quest/articles/puppeteer-support-for-the-cross-browser-webdriver-bidi-standard-1a31e5a6a084f9cd.md): Mozilla Hacks · 2023-12-12 · Easy · 3 min read · Testing, Browsers, JavaScript
  Puppeteer v21.6.0 adds support for WebDriver BiDi, the W3C cross-browser automation standard, enabled by launching with product 'firefox' and protocol 'webDriverBiDi' (it also works with Chrome).

## 2023-08-08

- [Autogenerating Rust-JS bindings with UniFFI](https://swe.quest/articles/autogenerating-rust-js-bindings-with-uniffi-bb58b4f2efeb71af.md): Mozilla Hacks · 2023-08-08 · Medium · 5 min read · Rust, JavaScript, Browsers, Concurrency
  Mozilla extended UniFFI, its Rust library for auto-generating foreign-language bindings, to emit JavaScript bindings for Firefox Desktop starting in Firefox 105, replacing error-prone hand-written wrappers that undermined Rust's memory safety.

## 2021-10-07

- [Implementing form filling and accessibility in the Firefox PDF viewer](https://swe.quest/articles/implementing-form-filling-and-accessibility-in-the-firefox-pdf-viewer-eb3fe6888e1c99ce.md): Mozilla Hacks · 2021-10-07 · Medium · 12 min read · Browsers, Accessibility, Sandboxing & isolation, JavaScript, Testing
  Firefox's PDF.js viewer gained AcroForm filling, embedded-JavaScript execution, XFA form rendering and tagged-PDF accessibility.

## 2021-08-10

- [Hopping on Firefox 91](https://swe.quest/articles/hopping-on-firefox-91-43b40b5229f7a9ce.md): Mozilla Hacks · 2021-08-10 · Medium · 3 min read · Browsers, JavaScript, Frontend
  Firefox 91 enables the Visual Viewport API by default, making it available in all major browsers and letting pages read the visible viewport's size, offset and scale and react to resize and scroll events, such as when zooming or an on-screen keyboard appears.

## 2021-08-03

- [How MDN’s autocomplete search works](https://swe.quest/articles/how-mdn-s-autocomplete-search-works-2a24a3a272638b76.md): Mozilla Hacks · 2021-08-03 · Medium · 5 min read · Search, Frontend, Web performance, JavaScript, React
  MDN Web Docs' autocomplete search runs entirely in the browser.

## 2021-07-13

- [Getting lively with Firefox 90](https://swe.quest/articles/getting-lively-with-firefox-90-e2cf4b92d9ecbff1.md): Mozilla Hacks · 2021-07-13 · Medium · 3 min read · Browsers, JavaScript, Frontend
  Firefox 90 enables JavaScript private class fields and methods by default, using a # prefix so properties can only be read or written inside the class body, and adds the relative-indexing at() method to Array, String and TypedArray, which accepts negative indexes to count from the end.

## 2021-06-08

- [Implementing Private Fields for JavaScript](https://swe.quest/articles/implementing-private-fields-for-javascript-8819b22a710ef7c1.md): Mozilla Hacks · 2021-06-08 · Hard · 11 min read · Runtimes & VMs, JavaScript, Language design, Browsers
  SpiderMonkey implements JavaScript private fields as hidden properties keyed by special PrivateName symbols, diverging from the specification's per-object \[\[PrivateFieldValues\]\] list so it can reuse the engine's already-optimized property machinery.

## 2021-06-01

- [Looking fine with Firefox 89](https://swe.quest/articles/looking-fine-with-firefox-89-bc7d05601914559d.md): Mozilla Hacks · 2021-06-01 · Medium · 3 min read · Browsers, CSS, JavaScript, Web performance, Accessibility
  Firefox 89 ships a slimmer, more minimalist interface alongside several new web platform features.

## 2021-04-22

- [Pyodide Spin Out and 0.17 Release](https://swe.quest/articles/pyodide-spin-out-and-0-17-release-e4c73c7eb20b7f04.md): Mozilla Hacks · 2021-04-22 · Medium · 7 min read · WebAssembly, Python, JavaScript, Browsers, Open source
  Pyodide, CPython 3.8 compiled to WebAssembly for running Python in the browser, has spun out of Mozilla into an independent, community-governed project, and Mozilla is winding down Iodide.

## 2021-04-19

- [Never too late for Firefox 88](https://swe.quest/articles/never-too-late-for-firefox-88-69478850ac7be10f.md): Mozilla Hacks · 2021-04-19 · Medium · 3 min read · Browsers, CSS, JavaScript, Frontend
  Firefox 88 adds the CSS :user-valid and :user-invalid pseudo-classes, which apply form validity styling only after the user leaves a field.

## 2018-02-22

- [Making a Clap-Sensing Web Thing](https://swe.quest/articles/making-a-clap-sensing-web-thing-2c17550a76ff9774.md): Mozilla Hacks · 2018-02-22 · Medium · 6 min read · JavaScript
  A clap-activated light controller is built as a JavaScript add-on for Mozilla's Project Things Gateway, using a USB microphone on a Raspberry Pi as a binarySensor Web Thing.

## 2012-11-20

- [Fully Loaded Node – A Node.JS Holiday Season, part 2](https://swe.quest/articles/fully-loaded-node-a-node-js-holiday-season-part-2-16ddab92917d79be.md): Mozilla Hacks · 2012-11-20 · Medium · 7 min read · JavaScript, Concurrency, Resilience, Scaling, Performance engineering
  Node.js runs JavaScript on a single core, so CPU-heavy work needs special handling to keep a server responsive.

Same list as RSS: [https://swe.quest/feed.xml?source=mozilla-hacks&tag=javascript](https://swe.quest/feed.xml?source=mozilla-hacks&tag=javascript). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
