0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-21 21:23:08 -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
+++ 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();