Sunday, May 5, 2024

I made a free working Youtube adblocker - Desktop & mobile (with background play!)

I made a free working Youtube adblocker - Desktop & mobile (with background play!)

So lately I've been pretty annoyed as Youtube have successfully stopped most adblockers from working (or they only work sometimes). I'm a bit over reading the adblock threads, deleting my history and cookies, updating my userscripts and all that...

I'm a programmer by trade so decided to try and fix this mess for everyone.

I ended up making a free little plugin called "GoodTube" that I'd like to share with you all.

It works for both desktop and mobile (with background play enabled, so you can turn off your screen and keep listening!)

Here's a few of the features;

  • Removes video and page ads.
  • Removes shorts.
  • Loads Youtube videos from different sources into a pretty decent player clone.
  • Removes unwanted search results ("You might also like this", "Other people also watched", etc).
  • Allows you to download the Audio or Video directly with a button at the bottom of the player!
  • Much more (covered further down).

All major browsers are supported - Chrome, Firefox, Opera, etc.

If your adblocker is working, by all means continue to use it, but if not - give this a try!

It's easy enough to install, all the instructions are below.

Here's some screenshots:

https://preview.redd.it/hky8iwo25qyc1.png?width=1024&format=png&auto=webp&s=86c8630334ccabe39c3f4105a54f2de1aa951ac3

https://preview.redd.it/5j9tsgb35qyc1.png?width=386&format=png&auto=webp&s=f13bdd2f4852ea1b4155d19eea2cc47158c42a95

How to install on Desktop

Install this browser extension "Tampermonkey":

https://www.tampermonkey.net/

Once that's done, simply click on this link and press "Install":

https://github.com/goodtube4u/goodtube/raw/main/goodtube.user.js

That's it. You're good to go. Open up Youtube and happy days.

Please note: If you're using Firefox, videos will not autoplay until you change the following setting:

https://preview.redd.it/57rqy5qkaqyc1.png?width=1920&format=png&auto=webp&s=393a000f617cf076050c2349d73309a1bdc0b222

How to install on Mobile

This will take you a few minutes, because mobiles are generally sort of annoying...

Just follow the steps below and I promise it'll work for ya! :)

  1. First off you'll need to install this app called "Firefox Nightly". You can find it on Google Play or the App Store. (Basically it's an official release of Firefox, but it also allows you to install browser extensions.)
  2. Once it's installed, open Firefox Nightly. Now click the 3 dots down the bottom right, and go to "Settings":

https://preview.redd.it/20mqjlplaqyc1.png?width=390&format=png&auto=webp&s=66f324f427e980379d5f5c8b5e32d73600dcafd6

  1. Scroll down and go to "Extensions":

https://preview.redd.it/uh14tljmaqyc1.png?width=390&format=png&auto=webp&s=e9dd53058bd2628e526a79dc4ff2ff5e5ea6d432

  1. Add the extension "Tampermonkey":

https://preview.redd.it/1xipgg6naqyc1.png?width=390&format=png&auto=webp&s=72f3ff066b220ca06d517f1c02bea7bd274d18b4

  1. Once that's done, go back to the main screen of Firefox Nightly and then go to the following webpage:
    https://github.com/goodtube4u/goodtube/raw/main/goodtube.user.js

  2. Click "Install":

https://preview.redd.it/3mnkkattaqyc1.png?width=390&format=png&auto=webp&s=b2f6355de4a799fcd64a2f41afd6df38c766268a

That's it. You're good to go. Open up Youtube in Firefox Nightly and happy days!!

I recommend using Firefox Nightly just like you would the Youtube app. Put it on your home screen somewhere / make Youtube the homepage for an even smoother experience :)

Please note: If you see a mostly blank screen on the Youtube homepage, don't worry! This is normal. Just search for something. Once you sign into Youtube the homepage will be full of your favorite videos once again.

Full feature list

  • ZERO ADS.
  • The beloved algorithm / watch history and all that stuff still works.
  • Keyboard shortcuts work.
  • Subtitles work.
  • Shorts are removed.
  • Unwated search results are removed.
  • Autoplay is supported.
  • Playlists are supported.
  • Thumbnails for other recommended videos that pop up when a video finishes are removed (I really hate these, try without it's nice).
  • You can download the video or audio straight from the player! There's a little button at the bottom of the video to do it.
  • It'll tell you when there's an update and give you a little button that installs the latest version.

Coming soon

  • Currently servers will not give 1080p. Working on it, should be available pretty soon.
  • Chapters are not yet supported, but again - working on it and should be done soon.

Why?

I'll never pay a company that is slapping ads on one of the largest archives of music / film / art in the world and blackmailing me to remove them. They really have a social responsibility that isn't being taken seriously...

So anyway, screw em. Install this little thing and happy days peeps 🎉

Other stuff

This took around 3 weeks to create and a thousand black coffees. I hope you enjoy it.

The code is free and open source. You're welcome to copy and change it as you see fit! Here's the Github repo:
https://github.com/goodtube4u/goodtube

Any questions, problems, etc - let me know! Peace out homies.

submitted by /u/downWithYoutubeAds
[link] [comments]


No comments:

Post a Comment