Monday, May 6, 2024

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

I made a working Youtube Adblock - 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/iu2i1flovvyc1.png?width=1024&format=png&auto=webp&s=bffa84473ce1dd4d6a5cc0eb52f59db3ba86c374

https://preview.redd.it/44yjpplovvyc1.png?width=386&format=png&auto=webp&s=b29ba5c413c20f256a26c357bbb22806ce092c88

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/6n2ziy0qvvyc1.png?width=1920&format=png&auto=webp&s=064bff0bf2d595372d60c7930eba9b97cd1e142c

How to install on Android (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 you! :)

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

https://preview.redd.it/m9kpzymzvvyc1.png?width=390&format=png&auto=webp&s=7648c746dc6fade83169ab4371d6827bca9043e8

  • Scroll down and go to "Extensions":

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

  • Add the extension "Tampermonkey":

https://preview.redd.it/4hc821o0wvyc1.png?width=390&format=png&auto=webp&s=7e19f1727298308dba05f9ff980036e81c8e0a76

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

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.

Simply sign into Youtube and the homepage will be full of your favorite videos once again.

How to install on iPhone (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 you! :)

  • First off you'll need to install this app called "Kiwi Browser". You can find it on the App Store. (Basically it's a Google Chrome clone, but it also allows you to install browser extensions.)
  • Once it's installed, open Kiwi Browser. Now click the 3 dots up the top right, and go to "Extensions":

https://preview.redd.it/jacc3ffiwvyc1.png?width=390&format=png&auto=webp&s=8240dc0427c8de18a9e877968b4015fdb3d02c14

  • Click "from store":

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

  • Search for and add the extension "Tampermonkey":

https://preview.redd.it/8tct5srjwvyc1.png?width=390&format=png&auto=webp&s=b4dbdc931799d7cb98c1f81fb1cdbba3743bb12b

https://preview.redd.it/pdkr7takwvyc1.png?width=390&format=png&auto=webp&s=1e41f95f65bc0bbfcb925b741da997d173d96214

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

I recommend using Kiwi Browser 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.

Simply sign into Youtube and 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 plugin and enjoy no ads 🎉

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.

p.s. Sorry for the re-post. Reddit seems to like deleting my posts? Almost like they're in with Youtube...

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


No comments:

Post a Comment