Skip to content

fix: Restore CC (Subtitles) Indicator on Channels' Videos Page#3763

Open
ledgerpilot wants to merge 2 commits intocode-charity:masterfrom
ledgerpilot:ledgerpilot/fix-1522
Open

fix: Restore CC (Subtitles) Indicator on Channels' Videos Page#3763
ledgerpilot wants to merge 2 commits intocode-charity:masterfrom
ledgerpilot:ledgerpilot/fix-1522

Conversation

@ledgerpilot
Copy link
Copy Markdown

Closes #1522

What changed

This fix introduces a new content script and a stylesheet to dynamically restore the "CC" (subtitles) indicator on YouTube channel /videos pages. The content script uses a MutationObserver to detect new video elements as they are loaded and applies a heuristic to determine if a video has captions based on existing (potentially hidden) DOM attributes or text, then injects a visual "CC" badge ne

Files modified

  • js/extension/content.js
  • js&css/extension/styles.css

Draft PR — please review before merging.

@ledgerpilot ledgerpilot marked this pull request as ready for review April 7, 2026 09:27
@ImprovedTube ImprovedTube marked this pull request as draft April 8, 2026 17:41
@ledgerpilot ledgerpilot marked this pull request as ready for review April 9, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore CC (Subtitles) Indicator on Channels' Videos Page

2 participants