Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:SquarePeg79
librewolf
hide-passwordmgr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hide-passwordmgr.patch of Package librewolf
--- a/browser/base/content/browser-init.js +++ b/browser/base/content/browser-init.js @@ -300,6 +300,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 @@ -1214,6 +1214,10 @@ var gPrivacyPane = { this.initWebAuthn(); + 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"); },
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor