# YouTube Shorts Blocker

> 35 lines of code that hide YouTube Shorts everywhere. Brutally minimal, completely secure, fully verifiable. No tracking, no settings, no bloat. Read the entire source in 30 seconds.

Canonical page: [https://chrome-stats.com/d/shortsless](https://chrome-stats.com/d/shortsless)

## Overview

- **ID:** `shortsless`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** TN3W
- **Category:** privacy-security,appearance,tabs
- **Daily users:** 1,657
- **Weekly downloads:** 69
- **Rating:** 5.00 / 5 (8 ratings)
- **Version:** 1.2.1
- **Last updated:** 2025-11-29
- **First published:** 2025-11-01
- **Size:** 14 KB
- **Data as of:** 2026-09-09
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/shortsless/)
- **Website:** [https://github.com/tn3w/YouTube-Shorts-Blocker/issues](https://github.com/tn3w/YouTube-Shorts-Blocker/issues)

## Description

<strong>35 lines of code. That's it.</strong>

A brutally minimal browser extension that hides YouTube Shorts everywhere.

<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/3aee1a1336bfe8ebbc888f8b6ff7a2f0e8b754ae14a62079eaa71db1c7d0de92/https%3A//github.com/tn3w/youtube-shorts-blocker" rel="nofollow">View on GitHub</a>

<strong>Why This Extension</strong>
<ul><li><strong>35 lines of code</strong> – You can read and verify everything in 30 seconds</li><li><strong>22 CSS rules</strong> – Maximum efficiency, minimal footprint</li><li><strong>Zero complexity</strong> – No settings, no UI, no bloat</li><li><strong>Completely secure</strong> – No permissions beyond YouTube, no external connections</li></ul>
<strong>What It Does</strong>

Hides Shorts navigation tabs, shelves, and videos across all YouTube pages.

<strong>Security &amp; Privacy</strong>

This is the entire extension – 35 lines of actual code:

function hide() {
    document
        .querySelectorAll(
            <code>ytd-guide-entry-renderer a[title="Shorts"],
        ytd-mini-guide-entry-renderer a[title="Shorts"],
        ytm-pivot-bar-item-renderer a[href="/shorts"],
        ytm-pivot-bar-item-renderer:has(.pivot-shorts),
        ytd-reel-shelf-renderer,
        ytd-rich-shelf-renderer:has([href*="/shorts/"]),
        ytm-reel-shelf-renderer,
        ytm-rich-section-renderer:has([href^="/shorts/"]),
        grid-shelf-view-model:has([href^="/shorts/"]),
        ytd-rich-grid-group:has([href^="/shorts/"]),
        [href^="/shorts/"],
        ytd-reel-item-renderer,
        ytm-reel-item-renderer,
        ytm-shorts-lockup-view-model,
        ytd-rich-item-renderer:has([href^="/shorts/"]),
        ytd-video-renderer:has([href^="/shorts/"]),
        ytd-grid-video-renderer:has([href^="/shorts/"]),
        ytd-compact-video-renderer:has([href^="/shorts/"]),
        ytm-rich-item-renderer:has([href^="/shorts/"]),
        ytm-video-with-context-renderer:has([href^="/shorts/"]),
        ytm-grid-video-renderer:has([href^="/shorts/"]),
        ytd-notification-renderer:has([href^="/shorts/"])</code>
        )
        .forEach((el) =&gt; (el.style.display = 'none'));
}

hide();
new MutationObserver(hide).observe(document.body || document.documentElement, {
    childList: true,
    subtree: true,
});

<strong>That's it. No tracking. No data collection. No external servers.</strong>

<strong>License</strong>

Copyright 2025 TN3W

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/0f967df0f1859568b0c5316d7100ada960b05ef4c333371339063229abe6720c/http%3A//www.apache.org/licenses/LICENSE-2.0" rel="nofollow">http://www.apache.org/licenses/LICENSE-2.0</a>

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

## Rankings

- #2,438 — Overall
- #214 — Tabs
- #12 — youtube shorts
- #26 — adblock for youtube
- #44 — license
- #79 — ad blocker

## Permissions and access

### Content script matches

- `*.youtube.com`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Request access to the following domains: youtube.com
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [YouTube Shorts Hider](https://chrome-stats.com/d/yt-shorts-hider) — 6 users, 5.00 / 5
- [Hide YouTube Short](https://chrome-stats.com/d/hide-youtube-short) — 507 users, 5.00 / 5
- [YouTube Shorts Remover/Blocker](https://chrome-stats.com/d/youtube-shorts-remover-blocker) — 348 users, 3.43 / 5
- [clean-youtube-shorts](https://chrome-stats.com/d/clean-youtube-shorts) — 4 users
- [YouTube Shorts Blocker Simple](https://chrome-stats.com/d/youtube-shorts-blocker-simple) — 2 users
- [YouTube Shorts Blocker](https://chrome-stats.com/d/youtubeshortsblokkeren) — 19 users
- [Shorts Blocker for YouTube](https://chrome-stats.com/d/shorts-blocker-for-youtube) — 8 users
- [Youtube Shorts Block](https://chrome-stats.com/d/shorts-block) — 1,723 users, 4.28 / 5
- [Block YouTube Shorts and Playables](https://chrome-stats.com/d/block-yt-shortvideo) — 513 users, 4.50 / 5
- [YTube Shorts Eliminator](https://chrome-stats.com/d/ytube-shorts-eliminator) — 1 users
- [Block YouTube-Shorts](https://chrome-stats.com/d/block-utube-shorts) — 2,886 users, 3.93 / 5
- [Hide YouTube Shorts](https://chrome-stats.com/d/hide-youtube-shorts-ff) — 23 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/shortsless)
