Apr 12, 2023

Block Ads and Shorts from YouTube on Chrome

We can't live without YouTube in these days but it is filled with bulk of Ads all over the page, Ads when you play a video and during intervals of the video if its too long.

You get relief from Ads if you are a YouTube premium subscriber. Ads are gone with premium but I've seen a bigger issue in Youtube i.e "Shorts", a TikTok competitor application created by Google to hook and addict everyone to watch short videos one after the other.

There is a solution to get rid of Ads and completely hide Shorts tab from the YouTube page on Google Chrome browser.

Download and install "uBlock Origin" chrome extension from this link. You can also find under Settings-Extensions. On the Extensions page click the menu (on top left) and click "Open Chrome Web Store". Search for the extension "uBlock Origin" and install.

The default setting of this extension will block all Ads from YouTube as well as on other websites. To hide "Shorts" in search, navigation icons, homepage and channel list from YouTube, paste the uBlock Origin filter in extension settings "My filters" tab.


www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer)

www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer)

www.youtube.com##ytd-browse #dismissible ytd-rich-grid-slim-media[is-short]:upward(ytd-rich-section-renderer)

www.youtube.com##ytd-browse[page-subtype="home"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-rich-item-renderer)

www.youtube.com##ytd-browse[page-subtype="subscriptions"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-grid-video-renderer,ytd-rich-item-renderer)

www.youtube.com##ytd-search .ytd-thumbnail[href^="/shorts/"]:upward(ytd-video-renderer)

www.youtube.com##ytd-watch-next-secondary-results-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-compact-video-renderer,ytd-shelf-renderer)

www.youtube.com##ytd-watch-next-secondary-results-renderer ytd-reel-shelf-renderer

www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-item-section-renderer)

www.youtube.com##ytd-browse[page-subtype="channels"] #contents.ytd-reel-shelf-renderer:upward(ytd-item-section-renderer)

www.youtube.com##ytd-search #contents ytd-reel-shelf-renderer

m.youtube.com##ytm-reel-shelf-renderer

m.youtube.com##ytm-pivot-bar-renderer div.pivot-shorts:upward(ytm-pivot-bar-item-renderer)

m.youtube.com##ytm-browse ytm-item-section-renderer ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-video-with-context-renderer)

m.youtube.com##ytm-browse ytm-item-section-renderer ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-compact-video-renderer)

m.youtube.com##ytm-search ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-compact-video-renderer)

m.youtube.com##ytm-single-column-watch-next-results-renderer ytm-thumbnail-overlay-time-status-renderer span:has-text(/^(0:\d\d|1:0\d)$/):upward(ytm-video-with-context-renderer)

Nov 30, 2020

Play SJTV iOS Shortcut

 TV News example