0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-03 03:10:07 -05:00

Fix hide-passwordmgr.patch

This commit is contained in:
Malte Jürgens 2024-06-15 17:26:09 +02:00
parent 7c436fda91
commit 0d36ef6f2f
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

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