Skip to content

v1.3.0 — Rebuilt Feature Toggles

Choose a tag to compare

@najmushsaaquib najmushsaaquib released this 01 Apr 11:50
· 26 commits to main since this release
825d375

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-width on 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 native yt-navigate-finish event
  • Style tag updated in-place instead of remove+recreate cycle
  • Lightweight setInterval for element marking instead of cascading observers

Full Changelog: v1.2.0...v1.3.0