A Chrome extension for ad-free YouTube viewing that prevents algorithm manipulation and protects your privacy.
- Ad-Free Experience: Watch YouTube videos without any advertisements
- Privacy Protection: Videos don't get added to your YouTube watch history
- Algorithm Freedom: Prevents YouTube's recommendation algorithm from tracking and controlling your viewing habits
- New Tab: Videos open in a new tab for seamless browsing
- Dynamic Content: Automatically detects new video links as they load on the page
- The extension monitors all YouTube pages for video links
- When you click on a video, it intercepts the click
- Opens the video through an ad-free alternative that doesn't track your viewing
- Enjoy watching without ads and without feeding the algorithm spiral
-
Download the Repository:
- Click the green "Code" button on this GitHub repository
- Select "Download ZIP" to download the repository as a ZIP file
- Extract the ZIP file to a folder on your computer
- Alternatively, clone the repository using:
git clone https://github.com/rahul-deka/AdFreeTube.git
-
Load Extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extracted
AdFreeTubefolder - The AdFreeTube extension will appear in your extensions list
- Open Chrome and navigate to
- Go to YouTube.com
- Browse videos normally
- Click on any video - it will automatically open a new tab
- Enjoy watching without ads or algorithm tracking!
AdFreeTube/
├── manifest.json # Extension configuration
├── content.js # Main functionality script
├── popup.html # Extension popup interface
└── README.md # This file
- Manifest Version: 3 (latest Chrome extension format)
- Permissions:
tabs: To open new tabsactiveTab: To interact with the current tab*://*.youtube.com/*: To run on YouTube pages
- Content Script: Runs on all YouTube pages to intercept clicks
You can modify the extension's behavior by editing the convertYouTubeUrl function in content.js to adjust the redirection logic according to your preferences.