about summary refs log tree commit diff
path: root/pkgs/aszlig/firefox/dont-block-about-pages.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-10-27 01:37:51 +0200
committeraszlig <aszlig@nix.build>2022-10-27 01:44:28 +0200
commit133af4ac95c3e061f819ce78c6154d2aad8b7154 (patch)
treee6ab74a7ddb92531cb3ee5cbdad9917b6cd364ce /pkgs/aszlig/firefox/dont-block-about-pages.patch
parent48c935c59198d831a3ab6a70d75a59f2aa345fff (diff)
workstation: Switch to Nix-managed Firefox
I had this laying around locally for a year now and I'm still not really
happy with some things, for example not having yet full source builds of
the extensions and a few config options not yet managed by Nix (eg.
search engines).

However, since Firefox takes a while to build it's a bit tedious to
always do it directly (and locally) after I update my machines. Having
this part of my workstation profile should make sure that my version of
Firefox is available at all times.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig/firefox/dont-block-about-pages.patch')
-rw-r--r--pkgs/aszlig/firefox/dont-block-about-pages.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/aszlig/firefox/dont-block-about-pages.patch b/pkgs/aszlig/firefox/dont-block-about-pages.patch
new file mode 100644
index 00000000..3f328ffc
--- /dev/null
+++ b/pkgs/aszlig/firefox/dont-block-about-pages.patch
@@ -0,0 +1,12 @@
+diff --git a/browser/components/enterprisepolicies/Policies.sys.mjs b/browser/components/enterprisepolicies/Policies.sys.mjs
+index 21e3e8804f60..106ec235c5c0 100644
+--- a/browser/components/enterprisepolicies/Policies.sys.mjs
++++ b/browser/components/enterprisepolicies/Policies.sys.mjs
+@@ -2615,6 +2615,7 @@ function clearBlockedAboutPages() {
+ }
+ 
+ function blockAboutPage(manager, feature, neededOnContentProcess = false) {
++  return;
+   addChromeURLBlocker();
+   gBlockedAboutPages.push(feature);
+