dotfiles/ublock_filters.txt
2026-01-01 05:42:54 -06:00

181 lines
13 KiB
Text

! reddit, slashdot ads
slashdot.org##.deals-rail
slashdot.org##.ad-blocked-newsletter
slashdot.org##.floating-content
##[data-suggestion-json*=ActivityTweet]
##.orville
! https://news.ycombinator.com/item?id=25538669
google.*##.g:has(a[href*=".pinterest."])
google.*##a[href*=".pinterest."]:nth-ancestor(1)
! https://old.reddit.com/r/FirefoxCSS/comments/olo199/how_to_make_scrollbar_use_systemgtktheme/
*##*:style(scrollbar-color: initial !important; scrollbar-width: initial !important;)
! https://www.bing.com
www.bing.com##.popup
! HN dark mode, font size increase
news.ycombinator.com##html:style(filter:invert(100%) hue-rotate(180deg))
news.ycombinator.com##body:style(background: #dddddd)
news.ycombinator.com##tbody:style(background: #dddddd)
news.ycombinator.com###hnmain:remove-attr(bgcolor)
news.ycombinator.com##:matches-path("/item") tbody:style(background: #cccccc)
news.ycombinator.com##.title:style(font-size: 12pt !important; line-height: 1.5 !important)
news.ycombinator.com##.pagetop:style(font-size: 12pt !important)
news.ycombinator.com##.comment:style(line-height: 1.5 !important)
news.ycombinator.com##div.toptext:style(color: black)
news.ycombinator.com###hnmain td[bgcolor="#000000"]
! reddit generic removals
reddit.com##.native-ad-container
reddit.com##.premium-banner
reddit.com##.redesignbetabar-js
reddit.com###redesign-beta-optin-btn
reddit.com###sb-unit
! https://old.reddit.com
! rgba(173, 181, 189, 1) == #adb5bd
! old.reddit.com CSS has a million hard-coded color values all over the place,
! including inline style blocks (style="color:black" e.g.) not in the CSS
! as well as allowing subs to define their own CSS based images/colors
old.reddit.com##body:style(background: #222 !important; background-color: #222 !important; line-height: 24px !important)
old.reddit.com##body::before:style(background-image: none !important; background-color: inherit !important)
old.reddit.com##textarea:style(background-color: #2d2d2d !important; color: #fff !important; -moz-appearance: none !important;)
old.reddit.com###header:style(background-color: #444 !important; border-bottom: 1px solid rgba(173, 181, 189, 0.75) !important)
old.reddit.com###header .dropdown.srdrop .selected:style(color: #e5e8eb !important)
old.reddit.com###header .pagename:style(color: #e5e8eb !important)
old.reddit.com###header .pagename a:style(color: #e5e8eb !important)
old.reddit.com###header .sr-bar:style(color: #e5e8eb !important)
old.reddit.com###header .tabmenu li a:style(background-color: #222 !important; color: #e5e8eb !important)
old.reddit.com###header .tabmenu li.selected a:style(background-color: #222 !important; border: 1px solid rgba(173, 181, 189, 0.75) !important)
old.reddit.com###header-bottom-right:style(background-color: #222 !important; color: #e5e8eb !important)
old.reddit.com###header-bottom-right a:style(color: #e5e8eb !important)
old.reddit.com###search input[type="text"]:style(background-color: #000 !important; color: #fff !important)
old.reddit.com###searchexpando:style(color: #e5e8eb !important)
old.reddit.com###sr-header-area:style(background-color: #333 !important)
old.reddit.com###sr-header-area .drop-choices:style(color: #333 !important)
old.reddit.com###sr-header-area a:style(color: #e5e8eb !important)
old.reddit.com###sr-more-link:style(background-color: #000 !important; border: 1px solid gray !important)
old.reddit.com##.admin_takedown:style(background-color: inherit !important)
old.reddit.com##.author-tooltip__credentials-list strong:style(color: #fff !important)
old.reddit.com##.author-tooltip__description:style(color: #e5e8eb !important)
old.reddit.com##.author-tooltip__head:style(background-color: #333 !important)
old.reddit.com##.author-tooltip__head a:style(color: #fff !important)
old.reddit.com##.author-tooltip__head h3:style(color: #e5e8eb !important)
old.reddit.com##.commentarea .infobar a:style(color: inherit !important)
old.reddit.com##.commentarea .thing:style(background-color: inherit !important)
old.reddit.com##.comments-page .side .linkinfo .score:style(color: inherit !important)
old.reddit.com##.content:style(color: #dee2e6 !important; background-color: #222 !important)
old.reddit.com##.content .searchpane:style(background-color: #333 !important)
old.reddit.com##.content .link .rank:style(color: #666 !important)
old.reddit.com##.content .link .title:style(font-size: 18px !important)
old.reddit.com##.crosspost-preview:style(background: #222 !important)
old.reddit.com##.drop-choices:style(background-color: #444 !important)
old.reddit.com##.drop-choices a:style(color: #e5e8eb !important)
old.reddit.com##.drop-choices a:hover:style(background-color: #000 !important)
old.reddit.com##.filtered-details form.add-sr .sr-name:style(background-color: #000 !important; color: #fff !important)
old.reddit.com##.filtered-details form.add-sr button.add:style(background-color: #fff !important)
old.reddit.com##.filtered-details button.remove-sr.remove-sr:style(background-color: #fff !important)
old.reddit.com##.hover-bubble:style(background: #333 !important; color: #fff !important)
old.reddit.com##.hover-bubble.multi-selector label a:style(background: #333 !important)
old.reddit.com##.hover-bubble.multi-selector strong:style(color: #fff !important)
old.reddit.com##.infobar:style(background-color: #333 !important)
old.reddit.com##.link:style(background-color: inherit !important)
old.reddit.com##.link .score:style(color: rgba(173, 181, 189, 0.75) !important)
old.reddit.com##.link .usertext-body .md:style(background-color: #303030 !important)
old.reddit.com##.listing-chooser:style(color: #dee2e6 !important; background-color: #303030 !important)
old.reddit.com##.listing-chooser .create button:style(color: #fff !important)
old.reddit.com##.listing-chooser .grippy:style(background: #505050 !important; border-left: 1px solid #53575b !important)
old.reddit.com##.listing-chooser .grippy::after:style(border-right:1px dotted rgba(173, 181, 189, 0.75) !important)
old.reddit.com##.listing-chooser .grippy:hover::after:style(background: #707070 !important)
old.reddit.com##.listing-chooser a:style(color: #2f8ac7 !important)
old.reddit.com##.listing-chooser h3:style(color: #dee2e6 !important)
old.reddit.com##.listing-chooser li:style(color: #dee2e6 !important; background: #222 !important; border: 1px solid rgba(173, 181, 189, 0.75) !important)
old.reddit.com##.md:style(color: #dee2e6 !important)
old.reddit.com##.md a:style(color: #2f8ac7 !important)
old.reddit.com##.md blockquote:style(color: #dee2e6 !important)
old.reddit.com##.md code:style(background-color: #000 !important)
old.reddit.com##.md h1:style(color: inherit !important)
old.reddit.com##.md h2:style(color: inherit !important)
old.reddit.com##.md pre:style(background-color: #000 !important)
old.reddit.com##.md-container:style(font-size: 14px !important)
old.reddit.com##.message.new > .entry:style(background-color: #333 !important)
old.reddit.com##.morelink:style(border: 1px solid rgba(173, 181, 189, 0.75) !important)
old.reddit.com##.morelink .nub:style(background-color: #303030 !important)
old.reddit.com##.morelink a:style(background-color: #222 !important; color: #e5e8eb !important)
old.reddit.com##.read-next:style(color: inherit !important; background: inherit !important)
old.reddit.com##.read-next .read-next-header:style(background-color: inherit !important)
old.reddit.com##.reddit-infobar:style(background-color: #333 !important)
old.reddit.com##.roundfield:style(background-color: #444 !important)
old.reddit.com##.roundfield .white-field:style(background-color: #444 !important)
old.reddit.com##.search-result-body:style(color: #dee2e6 !important)
old.reddit.com##.side:style(background-color: #303030 !important; border: 1px solid rgba(173, 181, 189, 0.75) !important; padding: 5px !important)
old.reddit.com##.side .md ul:style(color: inherit !important)
old.reddit.com##.side .titlebox:style(color: #888 !important)
old.reddit.com##.side .titlebox a:style(color: #e5e8eb !important)
old.reddit.com##.side .linkinfo:style(background-color: #444 !important; color: #dee2e6 !important)
old.reddit.com##.sidebox .spacer:style(background: #303030 !important)
old.reddit.com##.sidebox .subtitle:style(color: #888 !important)
old.reddit.com##.sitetable .comment:style(background-color: inherit !important)
old.reddit.com##.spoiler-stamp:style(color: #dee2e6 !important)
old.reddit.com##.subreddit .usertext .md:style(background-color: #222 !important)
old.reddit.com##.subscription-box a:style(color: #2f8ac7 !important)
old.reddit.com##.tagline a:style(color: #2f8ac7 !important)
old.reddit.com##.thing .title:style(color: #e5e8eb !important)
old.reddit.com##.thing .title:visited:style(color: #888 !important)
old.reddit.com##.titlebox .age:style(float: none !important)
old.reddit.com##.titlebox form.toggle:style(background: inherit !important)
old.reddit.com##.trophy-name:style(color: #dee2e6 !important)
old.reddit.com##.user-subreddit .path:style(color: #2f8ac7 !important)
old.reddit.com##.usertext.border .usertext-body:style(background-color: #333 !important)
old.reddit.com##.usertext.grayed .usertext-body:style(background-color: #222 !important)
! https://slashdot.org dark mode
slashdot.org##body > section:style(background: #222 !important)
slashdot.org##body:style(background: #222 !important)
slashdot.org##section#besttabs:style(background: inherit !important)
slashdot.org###clickgen:style(color: #dcdcdc !important)
!slashdot.org###clickgen a:style(color: #006b6b !important)
slashdot.org###clickgen a:hover:style(color: inherit !important)
slashdot.org###clickgen a:visited:style(color: inherit !important)
slashdot.org###clickgen h4 .selected:style(background: inherit !important; color: inherit !important; box-shadow: none !important)
slashdot.org###clickgen > section > div:style(border-color: #666 !important)
slashdot.org###clickgen > .st > section:style(border-color: #666 !important)
slashdot.org###clickgen .tlnav:style(background: inherit !important)
slashdot.org###comments .commentBody:style(color: #dcdcdc !important)
slashdot.org###comments .commentBody a:style(color: #50a6a6 !important)
slashdot.org###comments .details:style(background: none repeat scroll 0 0 #333 !important; color: #aaa !important)
slashdot.org###comments .details a:style(color: #50a6a6 !important)
slashdot.org###comments .full:style(border-color: #666 !important)
slashdot.org###comments .replyto_reply:style(color: #dcdcdc !important)
slashdot.org###d2header:style(background: #333 !important; color: #aaa !important)
slashdot.org###d2header h2 a:style(color: #50a6a6 !important)
slashdot.org###d2header h2 a:visited:style(color: #50a6a6 !important)
slashdot.org###d2header ul.besttabslist a:style(color: #50a6a6 !important)
slashdot.org###d2header ul.besttabslist a:visited:style(color: #50a6a6 !important)
slashdot.org###d2header ul.besttabslist li.active:style(background: #000 !important)
slashdot.org###firehose article:style(background-color: #252525 !important; color: #dcdcdc !important)
slashdot.org###firehose article header h2:style(background-color: #004d4d !important)
slashdot.org###firehose article header .details:style(background: #333 !important; color: #aaa !important)
slashdot.org###firehose article header .details a:style(color: #50a6a6 !important)
slashdot.org###firehose article footer a:style(color: #50a6a6 !important)
slashdot.org###firehose article footer a:hover:style(background-color: inherit !important; text-decoration: underline !important)
slashdot.org###firehose article header .story-title a:style(color: #eee !important)
slashdot.org###newa2footerv2 a:style(color: #50a6a6 !important; text-decoration: none !important)
slashdot.org###newa2footerv2 h3:style(background: #333 !important; color: #aaa !important)
slashdot.org###newa2footerv2 .c h3:style(background: inherit !important)
slashdot.org###slashboxes article:style(background: #333 !important; border-color: #666 !important; color: #aaa !important)
slashdot.org###slashboxes ul li:style(border-bottom: #666 !important)
slashdot.org###slashboxes ul li a:style(color: #50a6a6 !important)
slashdot.org###slashboxes ul li a:hover:style(color: #93cccc !important)
slashdot.org##.article .body .p a:style(color: #50a6a6 !important; text-decoration: none !important)
slashdot.org##.article .body .p a:hover:style(text-decoration: underline !important)
slashdot.org##.article .body .p > i:style(border-left: 2px solid #666 !important)
slashdot.org##.comment-label:style(color: #dcdcdc !important)
slashdot.org##.inline_comment form input:style(background: #000 !important; color: #fff !important)
slashdot.org##.inline_comment form input:focus:style(box-shadow: inherit !important; border: 1px solid #fff !important)
slashdot.org##.inline_comment form textarea:style(background: #000 !important; color: #fff !important)
slashdot.org##.inline_comment form textarea:focus:style(box-shadow: inherit !important; border: 1px solid #fff !important)
slashdot.org##.message-bar:style(background-color: #333 !important; color: #aaa !important; border-bottom: #666 !important)
slashdot.org##.message-bar a:style(color: #50a6a6 !important)