Skip to content

Commit

Permalink
deploy: 8010f23
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Oct 6, 2023
1 parent e4b0d54 commit a06076f
Showing 1 changed file with 144 additions and 0 deletions.
144 changes: 144 additions & 0 deletions ublock-filters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
! Block "ambient mode" garbage
youtube.com###cinematics.ytd-watch-flexy:remove()

! Block YouTube's cringe gigantic banner ads on the home screen
www.youtube.com##ytd-statement-banner-renderer
www.youtube.com##.ytd-brand-video-shelf-renderer

! Block YouTube's definitely totally unbiased "misinformation" banners, I can think for myself
www.youtube.com##.ytd-clarification-renderer
www.youtube.com###clarify-box

! Copied from https://raw.githubusercontent.com/mchangrh/yt-neuter/main/yt-neuter.txt

! voice search button
youtube.com###voice-search-button

! create button
youtube.com##ytd-topbar-menu-button-renderer:has(button[aria-label=Create])

! block image/animations from being fetched (falls back to normal logo)
||www.gstatic.com/youtube/img/promos/*$image

! block child elements of yoodle
youtube.com##.ytd-yoodle-renderer

!! surveys (#24)
! survey answer card/ thanks
youtube.com##yt-survey-answer-card-renderer

! checkbox survey?
youtube.com##.ytd-checkbox-survey-renderer

! feedback survey?
youtube.com##ytd-feedback-survey-renderer
youtube.com##.ytd-feedback-survey-renderer

! follow up survey?
youtube.com##.ytd-survey-follow-up-renderer
youtube.com##ytd-survey-follow-up-renderer

! generic surveys
youtube.com##ytd-inline-survey-renderer
youtube.com##.ytd-inline-survey-renderer

! multistage survey?
youtube.com##.ytd-multi-stage-survey-renderer
youtube.com##ytd-multi-stage-survey-renderer

! ratings survey?
youtube.com##ytd-rating-survey-renderer
youtube.com##.ytd-rating-survey-renderer

! RED exit survey
youtube.com##.ytd-red-cancel-survey-renderer
youtube.com##ytd-red-cancel-survey-renderer

! "how are your recommendations" survey
youtube.com##ytd-single-option-survey-renderer
youtube.com##.ytd-single-option-survey-renderer

! shelves (#15)
! game shelf
youtube.com##ytd-rich-shelf-renderer[has-rounded-box-art-thumbnail-style]

! free movies (targets movies channelID
youtube.com##ytd-rich-shelf-renderer:has(a[href="/channel/UClgRkhTL3_hImCAmdLfDE4g"])

! community posts
youtube.com##ytd-rich-shelf-renderer:has(ytd-rich-item-renderer[is-post])

! breaking news shelf
youtube.com##ytd-rich-shelf-renderer:has(#title:has-text(Breaking news))
m.youtube.com##ytm-rich-section-renderer:has(.rich-shelf-title:has-text(Breaking news))

! brand featured banner/ shelf #40
youtube.com##ytd-rich-shelf-renderer:has(ytd-badge-supported-renderer#featured-badge)
youtube.com##ytd-statement-banner-renderer
youtube.com##ytd-brand-video-singleton-renderer
youtube.com##ytd-brand-video-shelf-renderer
youtube.com##.ytd-brand-video-shelf-renderer

! mixes
youtube.com##ytd-rich-item-renderer:has(ytd-thumbnail-overlay-bottom-panel-renderer)

! movies free with ads
youtube.com##ytd-rich-item-renderer:has(.badge-style-type-ypc> span:has-text(Free with Ads))

! "new to you" (#2)
youtube.com##ytd-rich-item-renderer.style-scope:has(>.ytd-feed-nudge-renderer)
youtube.com##.ytd-rich-item-renderer:has(>.ytd-feed-nudge-renderer)

! explore categories
youtube.com##ytd-feed-filter-chip-bar-renderer:has(yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER])

! Block the cookie banner that covers the entire bottom left corner even with JS disabled
stackexchange.com##.js-consent-banner
stackoverflow.com##.js-consent-banner
askubuntu.com##.js-consent-banner

! Block "Code 55% faster with GitHub Copilot" (lmao)
github.com##button:has-text(with GitHub Copilot)

! Block GitHub's cringe algorithmic social media style feed
github.com###feed-next
github.com##[aria-labelledby="feed-next"]

! Block the corporate changelog above the "Explore Repositories" section
github.com##.dashboard-changelog

! Block GitHub's ads above the corporate changelog
github.com##.js-notice

! Block "achievements"
github.com##.d-block:has(a[href*="?tab=achievements"])
github.com##.d-md-block:has(a[href*="?tab=achievements"])

! Block the "hard sell" overlay that tries to force you to pay money just to read a review
www.glassdoor.com##.hardsellOverlay

! Block the cookie banner, same as rejecting cookies
www.paypal.com##.ccpaCookieBanner_container-custom.ccpaCookieBanner_container

! Block "Add super reaction" button
discord.com##div[aria-label="Add Super Reaction"]

! Block Nitro stuff in user settings
discord.com##div[class*="premiumTab"]
discord.com##div[class*="premiumFeatureBorder"]
discord.com##div[class*="birthdayFeatureBorder"]

! Block "Super" reactions, paid emojis lmao
discord.com##div[class*="reactionInner"][aria-label*="super"]

! Block "Download Apps" button, I uninstalled Discord for a reason
discord.com##div[aria-label*="Download Apps"]:upward(div[class*="listItem"])

! Block "Buy Boosts" bar
discord.com##div[aria-label*="Buy Boosts to help unlock"]

! Block "Discord's Birthday" crap
discord.com##li[role="listitem"]:has-text("Discord's Birthday")

! Block "Start an Activity" button
discord.com##button[aria-label="Start an Activity"]

0 comments on commit a06076f

Please sign in to comment.