about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-10-24 02:27:07 +0300
committerAzat Bahawi <azat@bahawi.net>2022-10-24 02:27:07 +0300
commit9ecfea2deb1d254b92632990913260cd87048212 (patch)
treec9c2aea54737504f0b3693044ed10fd6d0d78817 /modules
parent2022-10-24 (diff)
2022-10-24
Diffstat (limited to 'modules')
-rw-r--r--modules/nixfiles/firefox/userContent.css28
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/nixfiles/firefox/userContent.css b/modules/nixfiles/firefox/userContent.css
index 3f6894b..815514f 100644
--- a/modules/nixfiles/firefox/userContent.css
+++ b/modules/nixfiles/firefox/userContent.css
@@ -24,12 +24,6 @@
 }
 
 @-moz-document regexp("https?:\/\/(.*\.)?github.com.*") {
-    /*
-     * Remove useless information, links, sponsorship buttons from which GitHub
-     * gets a cut, useless "social" stuff and other "features". Unfortunately, I
-     * cannot disable reactions because a lot of repositories use these as a
-     * certain indicator of something, or as a voting tool.
-     */
     #org-repo-pin-select-menu,
     #sponsor-button,
     .dropdown-divider,
@@ -67,10 +61,6 @@
 }
 
 @-moz-document regexp("https?:\/\/github.com/?") {
-    /*
-     * Remove the stupid GitHub news and updates page if I ever click that by
-     * accident.
-     */
     .application-main {
         display: none !important;
     }
@@ -84,13 +74,6 @@
         --ff-serif: var(--serif-font-family) !important;
     }
 
-    /*
-     * This removes all bloat and useless information from Q/A pages. Since I
-     * usually find these through a search engine all of the navigation buttons
-     * and such are removed. I don't want to see any dumb messages, user names
-     * and promos. Comments on answers are kept because they sometimes have
-     * useful information but usernames and metadata is omitted.
-     */
     #announcement-banner,
     #footer,
     #left-sidebar,
@@ -147,11 +130,6 @@
 }
 
 @-moz-document regexp("https:\/\/habr\.com\/(ru|en)\/(article|company\/.*\/blog|post)\/.*") {
-    /*
-     * Remove everything and keep only the meat and potatoes of the article. I'm
-     * espeically not interested in comments or "witty" remarks of users this
-     * website's users.
-     */
     .Vue-Toastification__container,
     .tm-article-presenter__footer,
     .tm-article-presenter__meta,
@@ -176,9 +154,6 @@
         display: none !important;
     }
 
-    /*
-     * Remove all animations.
-     */
     * {
         transition: none !important;
     }
@@ -233,9 +208,6 @@
 }
 
 @-moz-document regexp("https:\/\/\.*\.hh\.ru.*") {
-    /*
-     * Doing my best here to avoid the "work" of this company's webdevs.
-     */
     .HH-Supernova-Footer,
     .index-dashboard-applicant__banners,
     .notification-manager,

Consider giving Nix/NixOS a try! <3