Repository navigation
v1.4.0 — Sidebar layout fix, instant toggles, no more reloads
What's fixed
Sidebar layout — text no longer bleeds outside the video
When Sidebar Recommendations was enabled, the video title, channel info, and description stretched full viewport width on both sides of the screen. Root cause was max-width: none removing YouTube's own width constraint. Now capped at 1280px so everything stays neatly within the player column.
Toggles are now instant and jank-free
A forced synchronous layout reflow (void document.body.offsetHeight) was running on every single toggle. Removed — CSS <style> tag updates don't need it. Flipping a toggle now feels immediate.
No more "reload YouTube" after navigating
YouTube's polymer components sometimes finish building DOM a few hundred milliseconds after yt-navigate-finish fires. A second apply() at 600 ms catches these late updates. The 1-second URL polling fallback timer (background overhead) is also removed.
Shorts/Explore toggle now works in one click
startMarkers() had a stale closure bug — the interval kept old settings when re-toggled. Fixed: always restarts with current settings.
Welcome page
On first install, D-Tox now opens d-tox.najmushsaaquib.com/welcome instead of the bundled HTML page.
Install / Update
Download D-Tox-v1.4.0-chrome.zip, unzip, and load via chrome://extensions → Load unpacked → select the unzipped folder.
Full changelog: CHANGELOG.md