From 306f35c135251e0b6760ac191c3111b030727813 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 18 Dec 2023 02:58:27 +0300 Subject: 2023-12-18 --- modules/nixos/firefox/userContent.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'modules/nixos/firefox/userContent.css') 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, -- cgit 1.4.1