A Chrome extension that automatically skips YouTube ads for a seamless viewing experience.
- 2025-11-04 โ Added Dark Mode (popup theme selector: System / Light / Dark). Theme is persisted via
chrome.storage.syncand defaults tosystem. Popup styles for light/dark were added and the background service worker initializes thethemesetting. (Implemented by Valent-p)
- โ Automatically skips skippable ads
- โ Detects and handles overlay ads
- โ Mutes non-skippable ads when possible
- โ Works with dynamically loaded content
- โ Lightweight and fast
-
๐ฏ Selective Ad Skipping
- Toggle video ad skipping
- Toggle overlay ad skipping
- Customize wait time before skipping (0-10 seconds)
-
๐ฎ Channel Management
- Whitelist your favorite content creators
- Support creators by allowing their ads
- Easy channel management through popup interface
-
โ๏ธ Flexible Configuration
- All settings sync across devices
- Settings persist between sessions
- Real-time configuration updates
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the folder containing this extension
- The extension is now installed!
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Pack extension"
- Select the extension directory
- A
.crxfile will be created
The extension uses a content script that:
- Monitors the YouTube page for ad elements
- Detects skip buttons and automatically clicks them
- Uses a MutationObserver to catch dynamically loaded ads
- Periodically checks for ads every 500ms
- Handles YouTube's single-page application navigation
YoutubeAdSkipper/
โโโ manifest.json # Extension configuration
โโโ content.js # Main ad-skipping logic
โโโ background.js # Service worker
โโโ popup.html # Extension popup UI
โโโ popup.js # Popup script
โโโ icons/ # Extension icons (you need to add these)
โ โโโ icon16.png
โ โโโ icon48.png
โ โโโ icon128.png
โโโ README.md # This file
You need to create icon files for the extension:
icons/icon16.png(16x16 pixels)icons/icon48.png(48x48 pixels)icons/icon128.png(128x128 pixels)
You can create simple icons or use online icon generators.
A Chrome extension that automatically skips YouTube ads for a seamless viewing experience.
- โ Automatically skips skippable ads
- โ Detects and handles overlay ads
- โ Mutes non-skippable ads when possible
- โ Works with dynamically loaded content
- โ Lightweight and fast
-
๐ฏ Selective Ad Skipping
- Toggle video ad skipping
- Toggle overlay ad skipping
- Customize wait time before skipping (0-10 seconds)
-
๐ฎ Channel Management
- Whitelist your favorite content creators
- Support creators by allowing their ads
- Easy channel management through popup interface
-
โ๏ธ Flexible Configuration
- All settings sync across devices
- Settings persist between sessions
- Real-time configuration updates
- ๐ Theme options: System / Light / Dark
- Choose a theme from the popup; selection is persisted and syncs across devices
- "System" follows the OS color-scheme while the popup is open
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the folder containing this extension
- The extension is now installed!
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Pack extension"
- Select the extension directory
- A
.crxfile will be created
The extension uses a content script that:
- Monitors the YouTube page for ad elements
- Detects skip buttons and automatically clicks them
- Uses a MutationObserver to catch dynamically loaded ads
- Periodically checks for ads every 500ms
- Handles YouTube's single-page application navigation
YoutubeAdSkipper/
โโโ manifest.json # Extension configuration
โโโ content.js # Main ad-skipping logic
โโโ background.js # Service worker
โโโ popup.html # Extension popup UI
โโโ popup.js # Popup script
โโโ icons/ # Extension icons (you need to add these)
โ โโโ icon16.png
โ โโโ icon48.png
โ โโโ icon128.png
โโโ README.md # This file
You need to create icon files for the extension:
icons/icon16.png(16x16 pixels)icons/icon48.png(48x48 pixels)icons/icon128.png(128x128 pixels)
You can create simple icons or use online icon generators.
The extension requires:
activeTab: To interact with YouTube tabsscripting: To inject content scriptshost_permissions: Access to youtube.com
If ads aren't being skipped:
- Make sure you're on a YouTube page
- Refresh the page
- Check the browser console for any errors
- Ensure the extension is enabled in
chrome://extensions/
This extension:
- Only runs on YouTube pages
- Does not collect any personal data
- Does not send data to external servers
- All code is local and open source
This project is open source and available for personal use.
Feel free to submit issues or pull requests to improve the extension!
- Valent-p - Owner and maintainer
- Initial extension development
- Custom skip rules implementation
- Channel whitelist feature
- Dark mode implementation