diff options
author | B. Stack <bgstack15@gmail.com> | 2022-05-24 22:23:52 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-05-24 22:23:52 -0400 |
commit | 2e02bfdbb7f225e3619317be008f4429724003f9 (patch) | |
tree | f8c63b10b13f32db62785de2bd0fcc839ad9472b /hide-passwordmgr.patch | |
parent | Updated to 100.0.2 (diff) | |
download | librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.tar.gz librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.tar.bz2 librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.zip |
librewolf 100.0.2 rc1b100.0.2
Diffstat (limited to 'hide-passwordmgr.patch')
-rw-r--r-- | hide-passwordmgr.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/hide-passwordmgr.patch b/hide-passwordmgr.patch new file mode 100644 index 0000000..933b4e6 --- /dev/null +++ b/hide-passwordmgr.patch @@ -0,0 +1,29 @@ +--- a/browser/base/content/browser.js ++++ b/browser/base/content/browser.js +@@ -1847,6 +1847,13 @@ var gBrowserInit = { + )?.removeAttribute("key"); + } + ++ if (Services.prefs.getBoolPref("librewolf.hidePasswdmgr", false)) { ++ PanelMultiView.getViewNode( ++ document, ++ "appMenu-passwords-button" ++ )?.remove(); ++ } ++ + this._loadHandled = true; + }, + +--- a/browser/components/preferences/privacy.js ++++ b/browser/components/preferences/privacy.js +@@ -810,6 +810,10 @@ var gPrivacyPane = { + /* init HTTPS-Only mode */ + this.initHttpsOnly(); + ++ if (Services.prefs.getBoolPref("librewolf.hidePasswdmgr", false)) { ++ document.getElementById("passwordsGroup")?.remove(); ++ } ++ + // Notify observers that the UI is now ready + Services.obs.notifyObservers(window, "privacy-pane-loaded"); + }, |