From c1d3aa3016d053014507c6779ee41d96725d0b04 Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Mon, 8 Jun 2026 18:23:55 -0400 Subject: [PATCH] Updated Optional Hardening (markdown) --- Optional-Hardening.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Optional-Hardening.md b/Optional-Hardening.md index bf4f029..a63a6b5 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -219,7 +219,7 @@ So why disable them? Service workers phone home to sites you've already closed, Service workers enhance a site rather than replace its core features, so if your browser doesn't support them, the site still works normally. On the very first visit to a web page that installs a new service worker, the initial visit to a page provides its baseline functionality while the service worker downloads. After a service worker is installed and activated, it controls the page to offer improved reliability and speed. (See [here](https://developer.chrome.com/docs/workbox/service-worker-overview/) and [here](https://firefox-source-docs.mozilla.org/devtools-user/application/service_workers/index.html)). #### Option 1: Private Browsing only - +There are cases where developers [want](https://bugzilla.mozilla.org/show_bug.cgi?id=1320796) the service workers API in private browsing windows. ```javascript // PREF: disable service workers in Private Browsing windows user_pref("dom.serviceWorkers.privateBrowsing.enabled", false);