What makes us different from other similar websites? › Forums › Tech › How to Stop Ad Blocker Detection on Websites Like YouTube › Reply To: How to Stop Ad Blocker Detection on Websites Like YouTube
June 10, 2025 at 7:28 pm
#8068

Moderator
Here is a script that downloads videos from YouTube, plays them in smplayer, and deletes the video after it is done. This will also remove sponsor ads and other ads.
1. $ sudo apt install smplayer
2. Check “Options => Preferences => Video => Start video in fullscreen”
3. Check “Options => Preferences => General => Close when finished playback”
4. $ mkdir ~/Documents/Scripts
5. $ cd ~/Documents/Scripts
6. $ mousepad YouTube-Ad-Free.sh
7. Use the script below:
Updated script below
8. $ bash YouTube-Ad-Free.sh
-
This reply was modified 2 months, 3 weeks ago by
thumbtak.
-
This reply was modified 2 months, 2 weeks ago by
thumbtak. Reason: Updated script to include, cookie grabbing, if needed, with percent for download, and changed it to delete yt-dlp file left behind in the old script
-
This reply was modified 2 months, 2 weeks ago by
thumbtak. Reason: Beautification
-
This reply was modified 2 months, 1 week ago by
thumbtak. Reason: TTS added to wake up some speakers, Watch another video question, save video to location question
-
This reply was modified 2 months, 1 week ago by
thumbtak. Reason: Bugfix
-
This reply was modified 2 months, 1 week ago by
thumbtak. Reason: Saves location where you last saved the file. When the you saw no, to another, it will remove the saved location
-
This reply was modified 2 months, 1 week ago by
thumbtak.