feat: hide the YouTube Playables shelf, release v1.19.0 #53
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/hide-playables-shelf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
YouTube injects a "YouTube Playables" shelf — a row of browser mini-games — into the feed. It is not video content and nothing in CleanWatch matched it, so it survived every existing filter.
hidePlayablesShelf(Home & Feeds → Homepage), on by default, next to the other injected-shelf toggles. Localized in EN/NL/DE/FR; the hint notes that the/playablespage itself still works if you go there yourself.block.css: the shelf is a plainytd-rich-shelf-rendererwith no distinguishing attribute (unlike Shorts'[is-shorts]), so the rule anchors on the game card element (ytd-mini-game-card-view-model) and on the/playableslink in the shelf header. The wholeytd-rich-section-rendereris hidden so no empty grid slot is left behind, matching the membership/premium shelf rules; the loose card selectors cover the same cards appearing outside a rich section.defaults.js:PLAYABLES_SHELF_SELECTORmirrors the CSS and is registered inAUDITED_SELECTORSasplayablesShelf(optional, since a clean feed may not carry the shelf), so a YouTube rename shows up in__CW_AUDIT_SELECTORS__()instead of failing silently.Release v1.19.0
manifest.json+package.json→ 1.19.0 — a new user-facing feature, so a minor bump, matching 1.18.0.package-lock.jsonhad drifted at 1.16.0 and now tracks.website/downloads/cleanwatch-latest.zip, byte-identical to the store package: 30 files, manifest at the zip root, notest/,node_modules/orwebsite/leakage.Test plan
npm test— 74/74 pass (jsdom was simply not installed locally, which is why two suites appeared to fail beforenpm install)🤖 Generated with Claude Code