How to play Youtube without ads, in background or turned off screen, for free, on Android: Use Firefox + 2 add-ons

Firefox is used too little nowadays. This is a bad thing for several reasons. The main reason is that it created a monopoly of Chromium-based browser engine which powers Google Chrome, Opera, MS Edge and most other browsers. Developers then optimize webpages mostly for this engine. The same thing happened 20 years ago when Microsoft dominated the market with Internet Explorer. Firefox however still has some advantages even for a regular user, and particularly when using Android-based mobile phone. One example that is very little known: You can play Youtube without ads, without paying for premium Youtube, and even with Youtube on the background or even with the screen turned off. Don’t you believe me? Just try it yourself!

You must have Android phone, not iPhone for this to work. Reason is that Apple does not allow other browser engines than its own on iPhone.

  1. Download Firefox from Google Play Store (or Fennec from F-Droid, if you have Android without Google Play Store such as LineageOS)
  2. In Settings, activate two browser plugins that are available on Android version of Firefox:
    1. µBlock Origin (uBlock Origin) ­– ad blocker which blocks also Youtube ads
    2. Video Background Play Fix – plugin which disables particular APIs that allow websites to know if the webpage is currently loaded on the foreground or not; therefore the websites assume that is, similar to how it works on the desktop where this API also isn’t used to turn off video playback when you switch apps
  3. Open in the Firefox browser and play any video.
  4. Profit!

Yes, it is that simple.

Try to use Firefox also for other websites or consider using it as a default browser on Android. With the adblocker turned on it has some significant privacy-related benefits as well. It has some disadvantages, though. You cannot use some features such as logging-in with FIDO2/U2F hardware USB or NFC security keys such as Yubikey or GoTrust Idem key, and some websites simply do not work anymore with mobile Firefox since it is used by less than 1% mobile users nowadays and some websites started ignoring this minority for cost-saving reasons. For these use cases, just switch to Chrome/Edge/whatever, but most websites still work reasonably OK with mobile Firefox. Using Firefox on desktop and mobile helps it to survive thanks the the fact that website owners are forced to continue supporting it since some of their paying customers are using it, and not to develop for Chrome only – which would be bad for the internet ecosystem in general, as any kind of monopoly is.

Enjoy and share this knowledge with your friends :-)



Pracuji jako ajťák a grafik na volné noze, zejména ale pro brněnskou firmu vyrábějící ekodrogerii. Dále působím v brněnském systému místní směny Rozleťse, Českém zahrádkářském svazu, České psychedelické společnosti, spolku Archetypal a Mezinárodní komunitě dzogčhenu. Chcete mě podpořit? BTC: 37mf2FJR26Ce3DxMkocukJDgB1eVjasnZB, příp. PGP podepsané adresy dalších kryptoměn.

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna.