A browser extension that automatically skips YouTube's harmful content warning screen, allowing you to continue watching videos without manual intervention.
- Automatic Skip: Automatically clicks the "Continue" button on YouTube's harmful content warning screens
- Real-time Monitoring: Uses MutationObserver and interval checks to detect warning screens as they appear
- Lightweight: Minimal code footprint with efficient DOM monitoring
- Manifest V3: Built with the latest Chrome extension manifest version
- Clone or download this repository
- Open your browser's extension management page:
- Chrome: Navigate to
chrome://extensions/
- Chrome: Navigate to
- Enable "Developer mode" (toggle in the top-right corner)
- Click "Load unpacked" or "Load temporary add-on"
- Select the directory containing this extension
git clone <repository-url>
cd yt-skip-hc
# Then follow the manual installation steps aboveThe extension monitors YouTube pages for the harmful content warning container. When detected, it automatically:
- Locates the warning message container (
#player-error-message-container) - Finds the "Continue" button within the container
- Clicks the button if it's enabled
- Stops monitoring after successfully clicking (to avoid unnecessary processing)
The extension uses:
- MutationObserver: Watches for DOM changes that might indicate a warning screen appearing
- Interval Check: Periodically checks for the warning screen (every 500ms) as a fallback
- Cleanup: Properly disconnects observers and clears intervals when done or when the page unloads
activeTab: Required to interact with YouTube tabs*://*.youtube.com/*: Host permission to run on YouTube pages
- ✅ Chrome (Manifest V3)
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) 2026 Wellington Costa
Contributions, issues, and feature requests are welcome! Feel free to check the issues page or submit a pull request.
This extension is provided as-is for convenience. Use responsibly and in accordance with YouTube's Terms of Service.