Inefficient YT Shorts Blocker/Bypass Workaround

Device : Android 15

Brave Version : 1.95

Filterlist : Latest of all filters.

I have YT shorts disabled through filters

Actual behaviour - Shorts can be played by visitng channel page of any content creator > click on shorts tab > shorts page of content creator loads > click on any shorts from this page > shorts plays. Sometimes the shortd pauses, but on reloading the browser page, the shorts play flawlessly. Now you can endlessly scroll YT shorts (All this while shorts blocker is enabled)

Expected behaviour - No shorts can be played whatsoever, like via shorts tab, or through search engine results from duckduckgo.

m.youtube.com/shorts/* this url should render a blank page, ideally.

Update : I installed latest nightly, Enabled all filters except language ones, and same issue still persists. Let me know if this is by design and if Shorts blocker is only supposed to remove shorts tab/button from youtube homepage instead of preventing shorts/thumbnails of shorts from loading.

@Adam22

So you have YouTube Shorts blocker Enabled?

cc: @fanboynz

I do. Its one of the first settings that I toogle on a fresh install.

That is precisely why I am creating this topic. The title “Block YouTube Shorts” is kind of misleading as it appears to insist that YT shorts are completely blocked (which I would GREATLY prefer).

When I have this option enabled, it still allows me to watch YT shorts by going to content creator’s Youtube channel page → shorts → Click any shorts and the video plays.

Ideally, the “shorts” tab on YT channel page should be hidden/blocked when shorts blocker option is enabled, but that is not the case here.

May I clarify, the “shorts” logo at the bottom of my screen of YT homepage is hidden, as expected. But shorts are still viewable by visiting any channel page → clicking on shorts tab (right between “videos” and “playlists” tab) → and clicking on shorts to start viewing it.

Thanks @nnm0a for drawing my attention towards the fineprint. It makes sense now.

Albeit a bit disappointing, I would have loved the “Block YouTube Shorts” option to absolutely get rid of all things “shorts”, instead of just blocking it on YT homepage and search results. It is my belief that people who enable this option have a pretext to not be able to access shorts whatsoever, conciously. And that includes getting rid of shorts tab on content creator’s channel page.

Maybe shorts blocker completely blocks shorts sometime in a future update, I’m sure those (myself included) who enable this option would welcome such a filter included in “Block YouTube Shorts” setting.

@Adam22

I vaguely recall, that one trick is:

  1. Clear YouTube site data
  2. Disable the content filter rule
  3. Exit/Quit everything
  4. Restart computing device
  5. Run BB and Enable the rule
  6. Restart BB
  7. Test YouTube

But … there is always the running battle: YouTube flexible responses vs ad-blocking ← likely affecting how, and what, a browser renders.

Tried this before posting it here, but it perhaps appears that “Block YouTube Shorts” does indeed not block YouTube Shorts completely (by design)

It merely hides the shorts tab icon on YT homepage and in YT search results. Shorts are still viewable from the channel page of content creators.

I just found out that Brave supports AdGuard style filter rule implementation. I can now block ALL YouTube shorts and shorts exclusive thumbnails and shorts iFrame (kind of), thanks to chatgpt rule generator.

Although it is my firm belief that “Block YouTube shorts” should get rid of ALL things YT shorts, including the “shorts tab” on youtuber’s channel page. And hopefully in future this is included in future “block youtube shorts” update @fanboynz and renders all the links to a blank page like

youtube.com/shorts/*

Where * represents all the urls proceeding the forward slash

On a side note, There is a Firefox store addon that optimises YT, and has plenty of options, including but not limited to:

Disable Shorts (Including shorts tab on channel page)

Disable Thumbnails

Disable Distracting elements

Disable Comments, Likes, Subscription button and Creator’s subscriber count

Disable/Autoskip Introduction/Outro and Paid promotions.

Disable Members only videos

Love this addon on my LibreWolf. Forgot the name of it.

While brave has gradually implemented some of these, a full fledged YT optimisation/minimisation options suite would be warmly welcomed. Truth be told, 70% of my brave utilisation on android is for YouTube surfing, and i cannot appreciate enough the Absolutely Clean YT video interface that brave gives me. (Just Video frame, and YT logo, search icon and hamburger menu on top on my screen, thats all I need from my YT). No top pinned comment, no Youtubers subscribe button or like share button - just the way I like.

Shoutout to @fanboynz @Mattches and the whole brave team working on optimising/minimalising internet experience on Brave for android.

Better to hide the Shorts with cosmetics than too block it with a network rule. I’m not seeing any shorts videos here, what link shows them?

sure, will have a fix out in the next 24hrs

Precisely.

One of the ways I found helpful to prevent shorts from loading (for the timebeing) is by using the following script

! Block direct YouTube Shorts pages and Shorts navigation
||youtube.com/shorts^$document
||www.youtube.com/shorts^$document
||m.youtube.com/shorts^$document
||music.youtube.com/shorts^$document

! Hide Shorts shelves, links, and navigation elements on normal YouTube pages
www.youtube.com##ytd-rich-section-renderer:has(a[href^=“/shorts/”])
www.youtube.com##ytd-reel-shelf-renderer
www.youtube.com##ytd-rich-item-renderer:has(a[href^=“/shorts/”])
www.youtube.com##ytd-guide-entry-renderer:has(a[href=“/shorts/”])
www.youtube.com##ytd-mini-guide-entry-renderer:has(a[href=“/shorts/”])
www.youtube.com##a[href^=“/shorts/”]
www.youtube.com##a[href*=“youtube.com/shorts/”]

!strict enforcing

||youtube.com/*shorts$document
||www.youtube.com/shorts$document
||m.youtube.com/shorts*$document

This however, does not block shorts that are viewable from channel page because the link is in the format youtube.com/<unique_channelname>/shorts/

@fanboynz @nnm0a @289wk

Okay, so I have noticed some changes/updates regarding this topic.

The “shorts” tab on channel page is now hidden but leaves an empty space/gap.

When clicking on this empty space/gap, the shorts page loads up. Pretty much like a hidden link except you cannot see it. Clicking on the gap loads the channel’s shorts page.

When clicking on these shorts video, they start playing. And then there is an infinite scroll of random youtube shorts, effectively breaking/bypassing the filter.

Other things I also noticed, is that I have Hidden YouTube Comments via “Block YouTube Distracting Elements”. But this does not hide comments in shorts. Comments still loads on shorts. The distracting element filter only works for regular videos.

Essentially, “Block YouTube Shorts” and “Block YouTube Distracting Elements” and “Block YouTube Thumbnails” do not work on shorts. Shorts thumbnails load up, desping having the thumbnail blocking enabled.

A Simple filter to prevent shorts from playing would be to block/blacklist the below 2 URLs in the following format

youtube.com/*/shorts

Where * referes to unique channel IDs. (See image A). Channel IDs generally start with ‘@’ logo. This would eliminate the entire shorts page in content creators channel page.

youtube.com/shorts/*

Where * refers to various unique Shorts urls. (See Image B and C). This would block all shorts from loading.

Image A :down_arrow:

Image B :down_arrow:

Image C :down_arrow:

On asking chatgpt form a resolution

This was its response

Use cosmetic filtering, not DNS filtering, if you want Shorts sections and thumbnails removed while keeping normal YouTube videos.

In Brave’s filter rules, add:

! Hide YouTube Shorts shelves, tabs, buttons, and thumbnails
youtube.com##ytd-rich-section-renderer:has(a[href*="/shorts/"])
youtube.com##ytd-reel-shelf-renderer
youtube.com##ytd-rich-item-renderer:has(a[href*="/shorts/"])
youtube.com##ytd-video-renderer:has(a[href*="/shorts/"])
youtube.com##ytd-grid-video-renderer:has(a[href*="/shorts/"])
youtube.com##ytd-item-section-renderer:has(a[href*="/shorts/"])
youtube.com##ytd-guide-entry-renderer:has(a[href="/shorts"])
youtube.com##ytd-mini-guide-entry-renderer:has(a[href="/shorts"])
youtube.com##a[href^="/shorts/"]
youtube.com##a[href*="/shorts/"] img
youtube.com##img[src*="ytimg.com"]:upward(ytd-rich-item-renderer):has(a[href*="/shorts/"])

Also block direct Shorts URLs:

||youtube.com/shorts/$document
||www.youtube.com/shorts/$document

The first group hides Shorts elements and their thumbnails. The $document rules prevent opening an individual Shorts page.

YouTube changes its markup frequently, so if some Shorts remain, add this broader fallback:

youtube.com##ytd-rich-item-renderer:has([href*="/shorts/"])
youtube.com##ytd-rich-section-renderer:has([href*="/shorts/"])
youtube.com##ytd-reel-shelf-renderer
youtube.com##ytm-rich-section-renderer:has([href*="/shorts/"])
youtube.com##ytm-shorts-lockup-view-model
youtube.com##ytm-reel-shelf-renderer

If your brave version does not support :has() or :upward(), the rules may be ignored. In that case, use the simpler rules below:

youtube.com##ytd-reel-shelf-renderer
youtube.com##ytm-reel-shelf-renderer
youtube.com##a[href*="/shorts/"]
youtube.com##a[href*="/shorts/"] img
youtube.com##ytd-guide-entry-renderer:has(a[href="/shorts"])
youtube.com##ytm-pivot-bar-item-renderer:has(a[href="/shorts"])

Do not add ||i.ytimg.com^ or ||yt3.ggpht.com^ if you want normal YouTube thumbnails to continue working; those domains serve regular video thumbnails as well as Shorts thumbnails.

This was the reponse.

Kindly go through this.

@fanboynz any update on this?

Keeping this thread alive until YT shorts blocker is patched.