---
title: "Hopping on Firefox 91"
description: "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."
url: "https://swe.quest/articles/hopping-on-firefox-91-43b40b5229f7a9ce"
canonical: "https://hacks.mozilla.org/2021/08/hopping-on-firefox-91/"
source: "Mozilla Hacks"
published: "2021-08-10"
difficulty: "medium"
kind: "Release"
reading_minutes: 3
tags: ["browsers","javascript","frontend"]
---

# Hopping on Firefox 91

A post on [Mozilla Hacks](https://swe.quest/sources/mozilla-hacks.md), published 2021-08-10, 3 min read, Release. Original: [https://hacks.mozilla.org/2021/08/hopping-on-firefox-91/](https://hacks.mozilla.org/2021/08/hopping-on-firefox-91/)

## Summary

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. Intl.DateTimeFormat gains new timeZoneName options (shortOffset, longOffset, shortGeneric, longGeneric) plus formatRange() and formatRangeToParts() for localized date ranges, all shown with code examples. The Gamepad API is now restricted to secure contexts and gated by a gamepad Feature Policy. Private browsing windows also adopt an HTTPS-first policy that falls back to HTTP when a site lacks HTTPS.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- JavaScript basics ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- DOM events

## Keywords

Firefox 91, Visual Viewport API, Intl.DateTimeFormat, Gamepad API, HTTPS-first, Feature Policy

## Related posts

- [WebKit Features for Safari 27.1](https://swe.quest/articles/webkit-features-for-safari-27-1-aa9f32f307e48f19.md): WebKit · 2026-10-23 · Medium · 6 min read · Browsers, CSS, Frontend, Mobile
  Safari 27.1 ships with iPhone Duo, a folding phone, using the same WebKit engine as other iPhones, so responsive sites work unchanged; viewport widths range from 382 to 951 CSS pixels and heights from 368 to 902 across the outer and inner displays and split windows.
- [What the iPhone Duo means for web development](https://swe.quest/articles/what-the-iphone-duo-means-for-web-development-ae876b58f98678e3.md): Mux · 2026-10-23 · Medium · 8 min read · Frontend, CSS, Browsers, Video & media, Mobile
  Safari on the foldable iPhone Duo exposes the Device Posture API and Viewport Segments API behind WebKit feature flags.
- [Release Notes for Safari Technology Preview 227](https://swe.quest/articles/release-notes-for-safari-technology-preview-227-119e49c133d89d81.md): WebKit · 2025-09-03 · Easy · 5 min read · Browsers, CSS, Frontend, WebAssembly
  Safari Technology Preview 227 (WebKit 298484@main…299099@main) adds the Navigation API, the scrollend event, command/commandfor button attributes for declarative popover and dialog control, and CSS field-sizing, scrollbar-color, position-visibility and math-shift.
- [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.
- [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.

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)
