Izegrar i yiminig Firefox
Qqen
Taskant n YouTube Shorts Blocker

YouTube Shorts Blocker sɣur TN3W

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.

0 (0 reviews)0 (0 reviews)
Ulac iseqdacenUlac iseqdacen
Sader Firefox
Sader afaylu

Asiɣzef aɣefisefka

Ɣef usiɣzef agi
35 lines of code. That's it.

A brutally minimal browser extension that hides YouTube Shorts everywhere.

View on GitHub

Why This Extension
  • 35 lines of code – You can read and verify everything in 30 seconds
  • 22 CSS rules – Maximum efficiency, minimal footprint
  • Zero complexity – No settings, no UI, no bloat
  • Completely secure – No permissions beyond YouTube, no external connections

What It Does

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

Security & Privacy

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

function hide() {
document
.querySelectorAll(
ytd-guide-entry-renderer a[title="Shorts"],
ytd-mini-guide-entry-renderer a[title="Shorts"],
ytm-pivot-bar-item-renderer a[href="/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/"])

)
.forEach((el) => (el.style.display = 'none'));
}

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

That's it. No tracking. No data collection. No external servers.

License

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

http://www.apache.org/licenses/LICENSE-2.0

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.
Rated 0 by 0 reviewers
Qqen akken ad ternud tazmilt i usiɣzef-agi
Ulac tazmilt akka tura

Amḍan n yitran yettwasekles

5
0
4
0
3
0
2
0
1
0
Ulac iceggiren tura
Tisirag akked yisefka

Yesra tisirag:

  • Kcem ɣer yisefka-ik n i yismal di youtube.com n taɣult
Issin ugar
Ugar n telɣut
TigIseɣwan n uzegrir
  • Asebter agejdan
  • Asmel n tallelt
  • Imayl n tallelt
Lqem
1.0
Teɣzi
25,95 KB
Aleqqem aneggaru
prije 4 dana (1. stu. 2025)
Taggayin i ilan assaɣ
  • Tabaḍnit & Taɣellist
  • Arwes
  • Iccaren
Turagt
Apache License 2.0
Amazray n Lqem
  • Wali akk ileqman
Tibzimin
  • content blocker
  • privacy
  • security
  • streaming
  • youtube
Rnu ar tegrumma
Mmel azegrir-a
Ddu γer usebter agejdan n Mozilla

Izegrar

  • Γef
  • Ablug n yizegrar Firefox
  • Tanemselt ɣef usiɣzef
  • Tarbaɛt n ineflayen
  • Tasertit i yineflayen
  • Ablug n temɣiwent
  • Anmager
  • Azen-d abug
  • Aḍris n ucegger

Iminigen

  • Desktop
  • Mobile
  • Enterprise

Ifarisen

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Tabaḍnit
  • Inagan n tuqqna
  • Usḍif

Ala ma yettwammel akken-nniḍen, agbur n usmel-agi yella ddaw n turagt Creative Commons Attribution Share-Alike v3.0 neɣ ileqman imaynuten.