mirror of
https://github.com/lawrencehook/remove-youtube-suggestions.git
synced 2026-07-25 06:54:31 +00:00
c3c7db3315
Options page:
- Pause timeLoop when popup is hidden (Page Visibility API)
- Use { once: true } for log prompt button listeners
- Remove stray console.log in settings import
Content script:
- Slow polling from 100ms to 500ms after page settles (was stuck at 100ms)
- Stop playlist autoplay interval once manager is found
- Only check dismiss buttons every 5th iteration
- Only check reveal boxes for first 30 iterations
- Only query clip button DOM if setting is enabled
- Skip subscriptions page queries if no sub-settings enabled
- Fix ad skip button selector for current YouTube UI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
868 B
868 B
TODO
Code Quality
- Auto-generate
idToShortIdmap fromSECTIONSinstead of manual maintenance - Add storage validation/migration for schema changes between versions
- Improve error handling beyond
console.log(error)
i18n / Localization
Hardcoded English strings that break for non-English YouTube:
content-script/main.js—'for you'comparisoncontent-script/main.js—'Streamed'checkcontent-script/main.js—'All','Related'chip names
Incomplete Features
utils.js:14— TODO: validate start time < end time for schedulesutils.js:32— TODO: force endTime to come after startTime
Fragility
YouTube frequently changes their DOM structure. Monitor these selectors:
ytd-rich-grid-row#metadata-line spanytd-thumbnail-overlay-time-status-rendereryt-chip-cloud-chip-renderer