about summary refs log tree commit diff
path: root/modules/nixos/firefox/userContent.css
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-07-09 14:22:15 +0300
committerAzat Bahawi <azat@bahawi.net>2023-07-09 14:22:15 +0300
commitab63f2eb09ed6633a7fad7a1a72b60bb14d5c85c (patch)
tree72f32b1f4e2f0e57b90722ebd5b0ec19e8f8f15b /modules/nixos/firefox/userContent.css
parent2023-07-03 (diff)
2023-07-09
Diffstat (limited to 'modules/nixos/firefox/userContent.css')
-rw-r--r--modules/nixos/firefox/userContent.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/nixos/firefox/userContent.css b/modules/nixos/firefox/userContent.css
index 6335ff5..5a297ab 100644
--- a/modules/nixos/firefox/userContent.css
+++ b/modules/nixos/firefox/userContent.css
@@ -291,7 +291,8 @@
 {
     #nav-footer,
     .main-document-header-container.top-navigation,
-    .mdn-cta-container {
+    .mdn-cta-container,
+    .top-banner.fallback {
         display: none !important;
     }
 
@@ -355,3 +356,14 @@
         display: none !important;
     }
 }
+
+@-moz-document regexp("https?://ecosia\.org.*")
+{
+    .cookie-wrapper,
+    .main-header__install-cta,
+    .meta-results,
+    .notifications,
+    .personal-counter {
+        display: none !important;
+    }
+}

Consider giving Nix/NixOS a try! <3