+ Reply to Thread
Results 1 to 11 of 11

Thread: uBlock YouTube filters

  1. #1

    uBlock YouTube filters

    Here is a list of what i used in uBlock Origin. Maybe it will help someone .

    Code:
    !Remove YouTube annotations
    ||youtube.com/annotations
    
    !Remove YouTube message "You're signed out of YouTube"
    youtube.com##ytd-popup-container:has-text(You're signed out of YouTube)
    
    !Remove YouTube recommended videos at the end of video
    youtube.com##.ytp-ce-element
    youtube.com##.ytp-ce-covering-overlay
    youtube.com##.ytp-ce-element-shadow
    youtube.com##.ytp-ce-covering-image
    youtube.com##.ytp-ce-expanding-image
    youtube.com##.ytp-ce-element.ytp-ce-video.ytp-ce-element-show
    youtube.com##.ytp-ce-element.ytp-ce-channel.ytp-ce-channel-this
    youtube.com##.ytp-pause-overlay
    youtube.com##.videowall-endscreen
    youtube.com##.ytp-ce-element-show
    youtube.com##.ytp-cards-teaser
    youtube.com##.ytp-cards-button
    youtube.com##.iv-click-target
    
    !Remove YouTube recommended videos in the playlist
    youtube.com##div.content-wrapper:if(span:has-text(/^Recommended/))
    youtube.com##li.video-list-item:if(span:has-text(/^Recommended/))
    
    !Remove YouTube "Related Videos"
    www.youtube.com##.ytp-suggestion-set.ytp-videowall-still
    
    ! Remove "Changes to YouTube’s Terms of Service"
    www.youtube.com##.ytd-popup-container.style-scope > .ytd-popup-container.style-scope
    
    ! Remove "A privacy reminder from YouTube"
    www.youtube.com###ticker > .ytd-masthead.style-scope
    www.youtube.com###alert-banner > .ytd-browse.style-scope
    
    ! 8/4/2019 https://www.google.com | A privacy reminder from Google
    www.google.com##.vk_c.yAVMkd
    
    ! 8/4/2019 https://www.google.com | Looking for english results?
    www.google.com###Rzn5id
    
    ! 8/8/2019 https://www.youtube.com | Youtube Join
    www.youtube.com###contentWrapper > .ytd-popup-container.style-scope
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    xleandrox (23.04.20) , JohnWick (23.04.20) , AxiomaticDirection (22.04.20)

  3. #2
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,386
    Activity Longevity
    11/20 19/20
    Today Posts
    5/5 ssss39386
    !Remove YouTube message "You're signed out of YouTube"
    There was a time when I used YouTube and most other big services with cookies disabled, which made something like this absolutely essential (I used custom CSS written by me, since uBlock and others didn't exist at the time).

    Don't forget the "try Music for Desktop free for one month" and "how is YouTube today?" popups.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  4. #3
    Advanced User Blocker's Avatar
    Join Date
    11.03.09
    Location
    The Pirate Bay
    P2P Client
    VEM
    Posts
    1,606
    Activity Longevity
    5/20 18/20
    Today Posts
    0/5 sssss1606
    I have been using also SponsorBlock add-on , it works like a charm removing sponsor content from videos.

    https://sponsor.ajay.app/
    Reply With QuoteReply With Quote
    Thanks

  5. #4
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,386
    Activity Longevity
    11/20 19/20
    Today Posts
    5/5 ssss39386
    YouTube is taking active measures against ad blockers as of last week or so. Not sure if it's just a test or they plan on rolling it out to everyone (or how effective they think that would be).

    I've never seen any ads on embedded videos, but not everything allows embedding.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  6. #5
    Purging cache then updating filters of uBlock whenever you get that annoying popup seems to work for now
    Reply With QuoteReply With Quote
    Thanks

  7. #6
    Advanced User Blocker's Avatar
    Join Date
    11.03.09
    Location
    The Pirate Bay
    P2P Client
    VEM
    Posts
    1,606
    Activity Longevity
    5/20 18/20
    Today Posts
    0/5 sssss1606
    Quote Originally Posted by deforest6170 View Post
    Purging cache then updating filters of uBlock whenever you get that annoying popup seems to work for now
    agree with you. It works for me. Also following this Reddit guide https://www.reddit.com/r/uBlockOrigi..._12_2023_mega/
    Last edited by Blocker; 15.11.23 at 16:57.
    Reply With QuoteReply With Quote
    Thanks

  8. #7
    Moderator
    Instab's Avatar
    Join Date
    18.09.09
    Posts
    6,660
    Activity Longevity
    5/20 17/20
    Today Posts
    0/5 sssss6660
    i'm usually using invidious but the following ublock and umatrix rules work for me with firefox. i have the usual filter lists loaded in ublock but none in umatrix. with these settings i never got ads or popups.

    ublock:
    Code:
    * fonts.googleapis.com * block
    * googleusercontent.com * block
    umatrix:
    Code:
    * fonts.googleapis.com * block
    * google.com * block
    * gstatic.com * block
    youtube.com consent.google.com frame allow
    youtube.com consent.youtube.com frame allow
    youtube.com googlevideo.com media allow
    youtube.com googlevideo.com xhr allow
    youtube.com youtube.com cookie allow
    youtube.com youtube.com other allow
    youtube.com youtube.com script allow
    youtube.com youtube.com xhr allow
    Your account has been disabled.
    Reply With QuoteReply With Quote
    Thanks

  9. Who Said Thanks:

    Blocker (16.11.23)

  10. #8
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,386
    Activity Longevity
    11/20 19/20
    Today Posts
    5/5 ssss39386
    I must be the only one who doesn't use any content blockers Although I have some stuff in my hosts file.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  11. #9
    Purging cache isn't working for me anymore. Google is shutting down any and all workarounds.
    Reply With QuoteReply With Quote
    Thanks

  12. #10
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,386
    Activity Longevity
    11/20 19/20
    Today Posts
    5/5 ssss39386
    I have yet to see any ads in embeds, and sometimes you can also watch restricted videos that way, though I expect both things to get patched at some point.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  13. #11
    Advanced User alpacino's Avatar
    Join Date
    19.03.09
    Location
    locked in Alchemilla Hospital
    P2P Client
    none, just the toolz
    Posts
    2,059
    Activity Longevity
    5/20 18/20
    Today Posts
    1/5 sssss2059
    Quote Originally Posted by hodor View Post
    Purging cache isn't working for me anymore. Google is shutting down any and all workarounds.
    This youtube cat and mouse game is getting tiresome.
    it's hip to be square
    Reply With QuoteReply With Quote
    Thanks

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •