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-12-18 02:58:27 +0300
committerAzat Bahawi <azat@bahawi.net>2023-12-18 02:58:27 +0300
commit306f35c135251e0b6760ac191c3111b030727813 (patch)
treeb2425f2d7b6a8bd4da80b886945c0f2a1b25c0df /modules/nixos/firefox/userContent.css
parent2023-12-15 (diff)
2023-12-18
Diffstat (limited to 'modules/nixos/firefox/userContent.css')
-rw-r--r--modules/nixos/firefox/userContent.css14
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/nixos/firefox/userContent.css b/modules/nixos/firefox/userContent.css
index 82940ec..544539f 100644
--- a/modules/nixos/firefox/userContent.css
+++ b/modules/nixos/firefox/userContent.css
@@ -16,6 +16,14 @@
     }
 }
 
+@-moz-document regexp("https?://.*")
+{
+    iframe[src^="https://accounts.google.com/gsi/iframe"]
+    {
+        display: none !important;
+    }
+}
+
 @-moz-document regexp("https?://(www)?yandex\.(com|ru)/search/.*")
 {
     #search-result-aside,
@@ -67,8 +75,8 @@
     a[href^="/sponsors"],
     a[href^="/topics"],
     a[href^="/trending"],
-    a[href^="https://github.com/codespaces"], /* No code reviews on GitHub? How come is this link in production? */
-    button[data-testid="copilot-popover-button"], /* Fuck you, GitHub! I'm sick this shit. */
+    a[href^="https://github.com/codespaces"], /* Absolute cringe... */
+    button[data-testid="copilot-popover-button"],
     details[id^="funding-links-modal"],
     footer {
         display: none !important;
@@ -168,7 +176,7 @@
     }
 }
 
-@-moz-document regexp("https?://habr\.com/(ru|en)/(article|company/.*/news|blog|post)/.*")
+@-moz-document regexp("https?://habr\.com/(ru|en)/(article|company/.*/news|companies|blog|post)/.*")
 {
     .Vue-Toastification__container,
     .tm-article-presenter__footer,

Consider giving Nix/NixOS a try! <3