diff --git a/patches/hide-passwordmgr.patch b/patches/hide-passwordmgr.patch index 933b4e6..7e24c5c 100644 --- a/patches/hide-passwordmgr.patch +++ b/patches/hide-passwordmgr.patch @@ -1,6 +1,6 @@ ---- a/browser/base/content/browser.js -+++ b/browser/base/content/browser.js -@@ -1847,6 +1847,13 @@ var gBrowserInit = { +--- a/browser/base/content/browser-init.js ++++ b/browser/base/content/browser-init.js +@@ -300,6 +300,13 @@ var gBrowserInit = { )?.removeAttribute("key"); } @@ -16,9 +16,9 @@ --- a/browser/components/preferences/privacy.js +++ b/browser/components/preferences/privacy.js -@@ -810,6 +810,10 @@ var gPrivacyPane = { - /* init HTTPS-Only mode */ - this.initHttpsOnly(); +@@ -1214,6 +1214,10 @@ var gPrivacyPane = { + + this.initWebAuthn(); + if (Services.prefs.getBoolPref("librewolf.hidePasswdmgr", false)) { + document.getElementById("passwordsGroup")?.remove();