Skip to content

Add toggleable content warning bypass (fixes #3591)#3620

Open
IsVohi wants to merge 1 commit intocode-charity:masterfrom
IsVohi:auto-accept-content-warning
Open

Add toggleable content warning bypass (fixes #3591)#3620
IsVohi wants to merge 1 commit intocode-charity:masterfrom
IsVohi:auto-accept-content-warning

Conversation

@IsVohi
Copy link

@IsVohi IsVohi commented Feb 16, 2026

Problem

Content warning prompts interrupt playlist autoplay, requiring manual clicks on "I understand and wish to proceed".

Solution

Added a toggleable feature that automatically appends &rco=1 parameter to bypass content warnings.

Changes

  • Created src/content-scripts/bypass-content-warning.js
  • Added toggle in General settings (default: enabled)
  • Updated manifest.json with content script registration
  • Real-time toggle (no page reload needed)

User Control

Users can disable the feature if they prefer to see content warnings, as requested by issue author.

Testing

  • ✅ Videos with content warnings auto-play
  • ✅ Normal videos unaffected
  • ✅ Playlist autoplay continues through warned videos
  • ✅ Toggle on/off works immediately
  • ✅ Setting persists across sessions

Closes #3591

- Added toggle in General settings (default enabled)
- Automatically appends &rco=1 to skip content warnings
- Allows users to disable if they want warnings shown
- Handles YouTube SPA navigation
- Works with playlist autoplay

Fixes code-charity#3591
@ImprovedTube
Copy link
Member

Thank you! @IsVohi

we can easily (potentially automatically) load most features like:

ImprovedTube.storage.bypassYouTubeContentWarning === true {
bypassYoutubeContentWarning(); }
on page load and youtube navigation

so that each feature function can be modular, not require to look up storage again. And only need its individual event listening, if any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡Automatically accept content warning

2 participants