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:
parent
7c436fda91
commit
0d36ef6f2f
1 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue