Repository navigation
v1.3.0 — Rebuilt Feature Toggles
What's Changed
Complete rebuild of all feature toggles for instant, reliable YouTube blocking.
Shorts (fully fixed)
- Pure CSS
:has()selectors — zero JS overhead, zero flash on scroll - Targets YouTube's new 2025+ DOM (
grid-shelf-view-model,ytm-shorts-lockup-view-model) - Hides Shorts everywhere: search results, home feed, sidebar nav, filter chips
- Fixed reload loop caused by blanket CSS selectors
Instant Toggles
- Every toggle applies immediately — no page reload needed
- Popup sends direct message to content script via
chrome.tabs.sendMessage() - Layout reflow forced after CSS changes for visual consistency
Sidebar
- Video auto-centers and expands when sidebar is hidden
- Overrides YouTube's locked
max-widthon the primary column
Header
- No more 56px gap when header is hidden
Explore & Trending
- Hides the entire Explore section in sidebar (not just individual links)
Autoplay
- Toggle button visually greyed out when autoplay is disabled
Performance
- Replaced heavy
MutationObserver(body, subtree)with YouTube's nativeyt-navigate-finishevent - Style tag updated in-place instead of remove+recreate cycle
- Lightweight
setIntervalfor element marking instead of cascading observers
Full Changelog: v1.2.0...v1.3.0