YouTube Channel Purge von Sp33d0r
Block YouTube channels from appearing in your recommendations. Easily manage blocked channels with import/export support.
6 Benutzer6 Benutzer
Metadaten zur Erweiterung
Über diese Erweiterung
YouTube Channel Blocker
A Firefox extension that allows you to block YouTube channels from appearing in your recommendation feed. When you block a channel, all videos from that channel will be hidden from the recommended videos section on YouTube.
Features
Installation
Method 1: Temporary Installation (for testing)
Method A - HTML Generator (Recommended):
- Open
- Click the "⬇️ Download icon-48.png" button and save to the
- Click the "⬇️ Download icon-96.png" button and save to the
Method B - PowerShell Script:
- Open PowerShell in the extension folder
- Run:
- Icons will be created automatically in the
Method 2: Permanent Installation (developer mode)
Method 3: Firefox Developer Edition
For the most convenient development experience, use Firefox Developer Edition which allows unsigned extensions to run permanently.
Usage
Blocking a Channel
Unblocking a Channel
Managing Multiple Channels
Import/Export
Exporting Your Blocked List
Importing a Blocked List
Sharing Lists
You can share your blocked channels list with others by sending them your exported JSON file. They can import it into their extension.
Note: If you want to share just the channel names without revealing your usage statistics, uncheck the "Include block counters" option when exporting.
Permissions
The extension requires the following permissions:
Troubleshooting
Channels aren't being blocked
Extension not working after Firefox restart
If you installed via Method 1 (temporary), the extension is removed on restart. Use Method 2 or 3 for permanent installation.
Cannot find the channel name
Import fails
Make sure your JSON file has the correct format:
New format (v1.4+, recommended):
Previous format (v1.2, still supported):
Old format (v1.0-1.1, still supported):
Privacy
Contributing
Contributions are welcome! Here are some ideas for improvements:
Known Limitations
License
This project is released under the MIT License. Feel free to use, modify, and distribute as needed.
Support
If you encounter issues:
Version History
A Firefox extension that allows you to block YouTube channels from appearing in your recommendation feed. When you block a channel, all videos from that channel will be hidden from the recommended videos section on YouTube.
Features
- ✅ Block channels by name - Simply enter the channel name to hide all their recommendations
- ✅ Persistent blocking - Blocked channels remain hidden even after browser restart
- ✅ Block counters - Track how many times each blocked channel was detected and hidden
- ✅ Import/Export - Share your blocked channels list or backup for later use (with optional counter statistics)
- ✅ Real-time filtering - Automatically hides recommendations as YouTube loads new content
- ✅ Clean UI - Easy-to-use popup interface for managing blocked channels
- ✅ Wildcard matching - Use
*for partial channel name matching - ✅ Badge indicator - Shows the number of blocked channels on the extension icon
- ✅ Flexible sorting - Sort channels alphabetically (A-Z or Z-A) or by block count (most/least blocked)
- ✅ Temporary unblock - Pause blocking for specific channels without losing counters, easily resume later
- ✅ Expandable popup - Toggle button to expand the popup window vertically for viewing more channels
- ✅ Enhanced statistics - Stats display with highlighted numbers for better visibility
Installation
Method 1: Temporary Installation (for testing)
- Download or clone this repository to your computer
- Generate icon files (choose one method):
Method A - HTML Generator (Recommended):
- Open
icons/generate-icons.html in Firefox or any browser- Click the "⬇️ Download icon-48.png" button and save to the
icons folder- Click the "⬇️ Download icon-96.png" button and save to the
icons folderMethod B - PowerShell Script:
- Open PowerShell in the extension folder
- Run:
.\generate-icons.ps1- Icons will be created automatically in the
icons folder
- Open Firefox and navigate to
about:debugging - Click "This Firefox" in the left sidebar
- Click "Load Temporary Add-on"
- Navigate to the extension folder and select the
manifest.jsonfile - The extension is now loaded temporarily (will be removed when Firefox restarts)
Method 2: Permanent Installation (developer mode)
- Follow steps 1-2 from Method 1
- Open Firefox and navigate to
about:config - Search for
xpinstall.signatures.requiredand set it tofalse - Package the extension:
- Zip all files in the extension folder (not the folder itself)
- Rename the
.zipfile to.xpi - Navigate to
about:addons - Click the gear icon and select "Install Add-on From File"
- Select your
.xpifile
Method 3: Firefox Developer Edition
For the most convenient development experience, use Firefox Developer Edition which allows unsigned extensions to run permanently.
Usage
Blocking a Channel
- Click the extension icon in your Firefox toolbar (red YouTube icon with a block symbol)
- Enter the exact channel name you want to block in the text field
- Example: "The Heritage Foundation"
- Channel names are case-insensitive
- Exact match required - "The" won't block "The Heritage Foundation"
- Use wildcard for partial matching:
- Add
*at the end to block all channels starting with that text - Example: "Fox News*" will block "Fox News", "Fox News Clips", "Fox News Shorts", etc.
- Example: "BBC*" will block "BBC News", "BBC World", "BBC Sport", etc.
- Click "Block Channel" or press Enter
- The channel will be added to your blocked list
- Reload YouTube or navigate to a new video to see the changes
Unblocking a Channel
- Open the extension popup
- Find the channel in your blocked list
- View the counter badge next to the channel name showing how many times it was blocked
- Click the "Pause" button to temporarily unblock the channel (videos will reappear, counter preserved)
- Click the "Resume" button to re-enable blocking for a paused channel
- Click the "Edit" button to modify the channel name
- Click the "Unblock" button to permanently remove the channel from the blocked list (this also removes its counter)
Managing Multiple Channels
- View all blocked channels in the popup list
- See the count of blocked channels and total videos hidden at the top of the list
- Track statistics in real-time - Counter badges update automatically as channels are blocked (no page refresh needed)
- Formatted counters - Large numbers are displayed compactly (e.g., 1.2k, 13.7k) with full count in tooltip
- Temporarily unblock - Use the "Pause" button to see videos from a channel without losing your block count
- Resume blocking - Paused channels show a "PAUSED" badge; click "Resume" to re-enable blocking instantly
- Clear all blocked channels using the "Clear All" button (this also resets all counters)
Import/Export
Exporting Your Blocked List
- Click the "📤 Export" button in the extension popup
- Choose whether to include block counters in the export:
- ✅ Checked (default): Exports channels with statistics showing how many times each was blocked
- ❌ Unchecked: Exports only channel names (counters reset to zero on import)
- Click "Export" to download the JSON file
- The file is named with the current date (e.g.,
youtube-blocked-channels-2026-01-08.json)
Importing a Blocked List
- Click the "📥 Import" button
- Paste the JSON content from your exported file
- Click "Import"
- New channels will be added to your existing list (duplicates are automatically avoided)
- If the imported file includes counters, they will be imported as well
- If the file doesn't include counters, imported channels will start with a counter of zero
Sharing Lists
You can share your blocked channels list with others by sending them your exported JSON file. They can import it into their extension.
Note: If you want to share just the channel names without revealing your usage statistics, uncheck the "Include block counters" option when exporting.
Permissions
The extension requires the following permissions:
storage- To save your blocked channels list persistentlyhttps://www.youtube.com/*- To run the content script on YouTube pages
Troubleshooting
Channels aren't being blocked
- Check the exact channel name: Make sure you entered the channel name exactly as it appears on YouTube
- Reload the page: After adding a channel, reload the YouTube page
- Check the browser console: Open Developer Tools (F12) and look for messages from "YouTube Channel Blocker"
- Clear processed markers: Sometimes you may need to restart Firefox
Extension not working after Firefox restart
If you installed via Method 1 (temporary), the extension is removed on restart. Use Method 2 or 3 for permanent installation.
Cannot find the channel name
- Go to a YouTube video page
- Look at the recommended videos on the right side
- The channel name appears below the video title
- Copy the exact name and paste it into the extension
Import fails
Make sure your JSON file has the correct format:
New format (v1.4+, recommended):
{
"version": "1.4",
"exportDate": "2026-02-01T12:00:00.000Z",
"channels": [
{ "name": "Channel Name 1", "count": 42, "paused": false },
{ "name": "Channel Name 2", "count": 15, "paused": true }
]
}
Previous format (v1.2, still supported):
{
"version": "1.2",
"exportDate": "2026-01-08T12:00:00.000Z",
"channels": [
{ "name": "Channel Name 1", "count": 42 },
{ "name": "Channel Name 2", "count": 15 }
]
}
Old format (v1.0-1.1, still supported):
{
"version": "1.1",
"exportDate": "2026-01-02T12:00:00.000Z",
"channels": ["Channel Name 1", "Channel Name 2"],
"counters": {
"Channel Name 1": 42,
"Channel Name 2": 15
}
}
Privacy
- All data is stored locally in your browser
- No data is sent to external servers
- No tracking or analytics
- The extension only runs on YouTube pages
Contributing
Contributions are welcome! Here are some ideas for improvements:
- [ ] Add a quick "block this channel" button directly on recommendation elements
- [ ] Support for blocking by channel URL or ID (more reliable than names)
- [ ] Whitelist mode (show only specific channels)
- [ ] Statistics on how many videos have been hidden
- [ ] Pattern matching (e.g., block all channels containing certain keywords)
- [ ] Support for blocking on other YouTube pages (homepage, search results)
Known Limitations
- Channel name changes: If a channel changes its name, you'll need to update the blocked name
- Similar names: The extension matches exact names (case-insensitive), so "Channel Name" and "ChannelName" are different
- Dynamic content: Very rapid scrolling might occasionally show a blocked recommendation briefly before it's hidden
License
This project is released under the MIT License. Feel free to use, modify, and distribute as needed.
Support
If you encounter issues:
- Check the troubleshooting section above
- Open Firefox Developer Tools (F12) and check the Console for errors
- Look for messages prefixed with "YouTube Channel Blocker:"
Version History
- v1.4.0 (2026-05-15)
- YouTube DOM compatibility fix - Updated channel name detection to handle YouTube's redesigned recommendation elements which migrated from BEM-style CSS classes to camelCase utility classes
- Multi-selector fallback strategy - Channel extraction now tries three methods in order: new camelCase classes →
aria-labelaccessibility attribute → legacy BEM classes, ensuring blocking continues working across YouTube UI changes - Improved resilience - Using
aria-label="Go to channel …"as a stable semantic fallback that YouTube must maintain for screen reader compliance - v1.3.0 (2026-02-01)
- Sorting options - Sort channel list by name (A-Z or Z-A) or by block count (most/least blocked)
- Temporary unblock - Pause blocking for any channel without losing counters; resume anytime with one click
- Expandable popup - Toggle button (⬇️) in header to expand popup for viewing more channels
- Enhanced stats display - Numbers in statistics are now highlighted in red for better visibility
- Improved UI spacing - Added proper padding at the bottom of the popup for better aesthetics
- Cleaner interface - Removed redundant tip text (wildcard hint is now only in the input placeholder)
- Bug fixes - Fixed counter increment issues when adding new channels
- Bug fixes - Fixed counters not updating when scrolling to load more recommendations
- Code improvements - Simplified content script logic for more reliable counter tracking
- v1.2.0 (2026-01-08)
- Improved data structure - Channels now stored as objects with name and count properties
- Better JSON format - Export format simplified, eliminates redundant counter object
- Automatic migration - Seamlessly upgrades from v1.0 and v1.1 formats
- Backward compatible - Can still import old format files
- Fixed blocking for movie recommendations (
ytd-compact-movie-renderer) - Fixed blocking for compact video recommendations (
ytd-compact-video-renderer) - Extended DOM monitoring to handle multiple YouTube recommendation types
- v1.1.0 (2026-01-08)
- Added block counters to track how many times each channel is detected and hidden
- Real-time counter updates - Counters update instan
Bewertet mit 0 von 0 Bewertern
Berechtigungen und Daten
Benötigte Berechtigungen:
- Auf Ihre Daten für www.youtube.com zugreifen
Erforderliche Datenerfassung nach Angaben des Entwicklers:
- Ort
Optionale Datenerfassung nach Angaben des Entwicklers:
- Technische Daten und Interaktionsdaten
Weitere Informationen
- Add-on-Links
- Version
- 1.4.0
- Größe
- 47,55 KB
- Zuletzt aktualisiert
- vor 3 Tagen (15. Mai 2026)
- Verwandte Kategorien
- Lizenz
- MIT-Lizenz
- Versionsgeschichte
- Zur Sammlung hinzufügen