From 410e051ea324e129958f6e4bf3627c85c27266db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Fri, 15 Apr 2022 11:13:10 +0200 Subject: [PATCH 1/5] Update uBOAssets.json with latest changes --- assets/uBOAssets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/uBOAssets.json b/assets/uBOAssets.json index 3721fdb..e682f3b 100644 --- a/assets/uBOAssets.json +++ b/assets/uBOAssets.json @@ -550,7 +550,7 @@ "off": true, "title": "NLD: EasyDutch", "lang": "af fy nl", - "contentURL": "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt", + "contentURL": "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt", "supportURL": "https://github.com/EasyDutch-uBO/EasyDutch/" }, "NOR-0": { From 7d64673c6f0cb0173e0df10b9d77cd34e2ab0469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Fri, 15 Apr 2022 11:25:00 +0200 Subject: [PATCH 2/5] add diff to ubo assets script --- scripts/update-ubo-assets.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/update-ubo-assets.sh b/scripts/update-ubo-assets.sh index 275948a..f57723d 100755 --- a/scripts/update-ubo-assets.sh +++ b/scripts/update-ubo-assets.sh @@ -40,6 +40,8 @@ add_filter_list "LegitimateURLShortener" '{ echo "-> Writing to assets/uBOAssets.json" echo $assets | jq . >./assets/uBOAssets.json +git diff assets/uBOAssets.json + if [[ "$( read -e -p '-? Commit changes? [y/N] ' echo $REPLY From 35c89a243ff5e8fa2306aef433e89bb31dc220c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 16 Apr 2022 23:37:49 +0200 Subject: [PATCH 3/5] add `hide-passwordmgr.patch` --- assets/patches.txt | 1 + patches/hide-passwordmgr.patch | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 patches/hide-passwordmgr.patch diff --git a/assets/patches.txt b/assets/patches.txt index 02e83fe..4a83765 100644 --- a/assets/patches.txt +++ b/assets/patches.txt @@ -3,6 +3,7 @@ patches/bootstrap-without-vcs.patch patches/context-menu.patch patches/custom-ubo-assets-bootstrap-location.patch patches/disable-data-reporting-at-compile-time.patch +patches/hide-passwordmgr.patch patches/librewolf-pref-pane.patch patches/mozilla_dirs.patch patches/remove_addons.patch diff --git a/patches/hide-passwordmgr.patch b/patches/hide-passwordmgr.patch new file mode 100644 index 0000000..933b4e6 --- /dev/null +++ b/patches/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"); + }, From bc31cf87c76e71e3b6171a6d05c32450bb26f28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Thu, 21 Apr 2022 17:22:29 +0200 Subject: [PATCH 4/5] Update uBOAssets.json with latest changes --- assets/uBOAssets.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/uBOAssets.json b/assets/uBOAssets.json index e682f3b..5737ec7 100644 --- a/assets/uBOAssets.json +++ b/assets/uBOAssets.json @@ -551,6 +551,12 @@ "title": "NLD: EasyDutch", "lang": "af fy nl", "contentURL": "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt", + "cdnURLs": [ + "https://combinatronics.io/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt", + "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt", + "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch@gh-pages/EasyDutch.txt", + "https://cdn.statically.io/gl/BPower0036/EasyDutch/raw/gh-pages/EasyDutch.txt" + ], "supportURL": "https://github.com/EasyDutch-uBO/EasyDutch/" }, "NOR-0": { From a55188f17556f609dab9276efc37625a08b3e59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 23 Apr 2022 08:56:52 +0000 Subject: [PATCH 5/5] Add LibreWolf logo to Debugging Page --- assets/patches.txt | 1 + patches/ui-patches/lw-logo-devtools.patch | 37 +++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 patches/ui-patches/lw-logo-devtools.patch diff --git a/assets/patches.txt b/assets/patches.txt index 4a83765..61b9f22 100644 --- a/assets/patches.txt +++ b/assets/patches.txt @@ -13,6 +13,7 @@ patches/sed-patches/remove-internal-plugin-certs.patch patches/sed-patches/stop-undesired-requests2.patch patches/ui-patches/handlers.patch patches/ui-patches/hide-default-browser.patch +patches/ui-patches/lw-logo-devtools.patch patches/ui-patches/pref-naming.patch patches/ui-patches/privacy-preferences.patch patches/ui-patches/remap-links.patch diff --git a/patches/ui-patches/lw-logo-devtools.patch b/patches/ui-patches/lw-logo-devtools.patch new file mode 100644 index 0000000..5362655 --- /dev/null +++ b/patches/ui-patches/lw-logo-devtools.patch @@ -0,0 +1,37 @@ +--- a/devtools/client/aboutdebugging/src/actions/runtimes.js ++++ b/devtools/client/aboutdebugging/src/actions/runtimes.js +@@ -71,9 +71,7 @@ async function getRuntimeIcon(runtime, channel) { + } + } + +- return channel === "release" || channel === "beta" || channel === "aurora" +- ? `chrome://devtools/skin/images/aboutdebugging-firefox-${channel}.svg` +- : "chrome://devtools/skin/images/aboutdebugging-firefox-nightly.svg"; ++ return "chrome://devtools/skin/images/aboutdebugging-firefox-librewolf.svg"; + } + + function onRemoteDevToolsClientClosed() { +--- a/devtools/client/jar.mn ++++ b/devtools/client/jar.mn +@@ -374,6 +374,7 @@ devtools.jar: + skin/images/aboutdebugging-firefox-logo.svg (themes/images/aboutdebugging-firefox-logo.svg) + skin/images/aboutdebugging-firefox-nightly.svg (themes/images/aboutdebugging-firefox-nightly.svg) + skin/images/aboutdebugging-firefox-release.svg (themes/images/aboutdebugging-firefox-release.svg) ++ skin/images/aboutdebugging-firefox-librewolf.svg (themes/images/aboutdebugging-firefox-librewolf.svg) + skin/images/aboutdebugging-globe-icon.svg (themes/images/aboutdebugging-globe-icon.svg) + skin/images/aboutdebugging-information.svg (themes/images/aboutdebugging-information.svg) + skin/images/aboutdebugging-process-icon.svg (themes/images/aboutdebugging-process-icon.svg) +--- /dev/null ++++ b/devtools/client/themes/images/aboutdebugging-firefox-librewolf.svg +@@ -0,0 +1 @@ ++ +--- a/devtools/client/themes/images/aboutdebugging-firefox-logo.svg ++++ b/devtools/client/themes/images/aboutdebugging-firefox-logo.svg +@@ -1,6 +1 @@ +- +- +- +- ++