Already use #ublockorigin to keep your internet browsing sane? Did you know you can add your own filters for specific page elements?
You can permanently disable Youtube live chat by opening Ublock Origin extension settings, go to My Filters, and put in
www.youtube.com##ytd-live-chat-frame
www.youtube.com##yt-live-chat-app
#ublockorigin #ytd #yt #awesome
`##ytd-grid-video-renderer.ytd-grid-renderer.style-scope:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style='SHORTS'])`
This uBlock rule will disable YouTube shorts from your subscription page.
#youtube #adblock #ublock #shortsarereallyannoyinginthefeedbutthereisnowaytohidethem
#ytd #youtube #adblock #ublock #shortsarereallyannoyinginthefeedbutthereisnowaytohidethem
@sen Yeah I already have a bunch of similar lines but mine are bit more fine tuned and I match on the section header text (mostly because I hold out hope one day a useful feature might be added 🤣). So my lines look more like:
youtube.*##ytd-rich-section-renderer:has(span:has-text(/Shorts/))
Which now nukes the Shorts section.
# My Solution
Install the `uBlock Origin` extension (you should already have that, the web is unusable without it). Then in `Options -> My Filters` add the following line:
```
youtube.*##ytd-rich-section-renderer:has(span:has-text(/Shorts/i))
```
Gone for good.
O que resolveu meu problema foi a extensão uBlock Origin. Depois de instalada, abri a extensão, selecionei "abrir painel" e, na aba "meus filtros", adicionei linhas de código como estes dois exemplos:
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/EXEMPLO/i))
e
www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope:has(span:has-text(/EXEMPLO/i))
Substituindo "EXEMPLO" pelos nomes das seções que ninguém quer saber, como na imagem. Bjos
RT @esatoshiclub@twitter.com
📈#Bitcoin - the best performing #asset #YTD
🐦🔗: https://twitter.com/esatoshiclub/status/1617832079760187397
Also this uBlock filter to remove #shorts which I just find annoying too.
! 01/02/2023 - Youtube Shorts
www.youtube.com##ytd-grid-video-renderer:has(#thumbnail[href*=shorts])
www.youtube.com##ytd-grid-video-renderer:has(#video-title:has-text(/#shorts/i))
#shorts #ytd #thumbnail #video #ublock #youtube
finally looked into how to hide YouTube Shorts permanently:
www.youtube.com##ytd-rich-shelf-renderer[is-shorts]
@sehro these can definitely be tightened up, but here's what I have so far (drop the last two if you actually care about the tiktok-style shorts):
! 2022-01-01 https://www.youtube.com
www.youtube.com###secondary
! 2021-12-07 https://www.youtube.com
www.youtube.com##ytd-miniplayer.ytd-app.style-scope
! 2021-12-29 https://www.youtube.com
www.youtube.com###secondary > .ytd-watch-flexy.style-scope
! 2022-01-05 https://www.youtube.com
www.youtube.com##.ytd-popup-container.style-scope > .yt-tooltip-renderer.style-scope
www.youtube.com##ytd-rich-grid-row.ytd-rich-grid-renderer.style-scope > .ytd-rich-grid-row.style-scope
www.youtube.com##.ytd-two-column-browse-results-renderer.style-scope > .ytd-rich-grid-renderer.style-scope
! 2022-05-06 https://www.youtube.com
www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope
! 2022-05-18 https://www.youtube.com
www.youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope > .ytd-shelf-renderer.style-scope
! 2022-08-17 https://www.youtube.com
www.youtube.com##.ytp-autonav-toggle-button
www.youtube.com##.ytp-autonav-toggle-button-container
! 2022-10-08 https://www.youtube.com
www.youtube.com##ytd-thumbnail-overlay-time-status-renderer[overlay-style*="SHORTS"]:upward(ytd-grid-video-renderer)
! 2022-11-02 https://www.youtube.com
www.youtube.com##ytd-video-renderer.ytd-item-section-renderer.style-scope:has-text(/SHORTS/)
Youtube検索で色々とゴミが追加されてた
###expandable-metadata > .ytd-video-renderer.style-scope
##ytd-shelf-renderer.ytd-item-section-renderer.style-scope:nth-of-type(1)
##ytd-shelf-renderer.ytd-item-section-renderer.style-scope:nth-of-type(2)
##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope
psst, if anyone wants to remove the Shorts button on youtube and prevent misclicks the filter for Ublock is
youtube.com##ytd-guide-entry-renderer.ytd-guide-section-renderer.style-scope:nth-of-type(3)
youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your search/i))
youtube.com##ytd-shelf-renderer:has-text(/People also watched/)
youtube.com###contents > ytd-shelf-renderer:has-text(/For you/)
youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Watch again/i))
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope:has(span:has-text(/Searches related to/i))
youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Learn while you're at home/i))
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope
youtube.com###secondary > .ytd-two-column-search-results-renderer
youtube.com###contents > .ytd-secondary-search-container-renderer.style-scope
youtube.com##ytd-shelf-renderer:has-text(/Previously watched/)
www.youtube.com##ytd-grid-video-renderer:has(#thumbnail[href*=shorts])
www.youtube.com##ytd-grid-video-renderer:has(#video-title:has-text(/#shorts/i))
www.youtube.com##ytd-video-renderer:has(#thumbnail[href*=shorts])
www.youtube.com##ytd-video-renderer:has(#video-title:has-text(/#shorts/i))
@tagomago @rysiek In Firefox, you can disable cookies for specific sites. See the screenshot. This will get rid of the cookie consent dialogue. To get rid of the "Login to Youtube", add this as a custom uBlock filter
youtube.com##ytd-popup-container
youtube.com##ytd-consent-bump-lightbox.style-scope
www.youtube.com##.opened
It's not a bug-free solution though. It'll get rid of all the popups, but links where the start time is specified will be played from the beginning.
! YouTube COVID notices
www.youtube.com###clarify-box.ytd-watch-flexy:has-text(COVID-19)
www.youtube.com##paper-dialog.ytd-popup-container.style-scope > .ytd-popup-container.style-scope:has-text(COVID-19)
www.youtube.com##ytd-rich-section-renderer:has(#dismissable:has-text(COVID-19))
! Google COVID notice
www.google.com##div.section-cardbox:has-text(COVID-19)
#clarify #paper #ytd #dismissable #div