Skip to content

Instantly share code, notes, and snippets.

@pjobson
Created March 14, 2024 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjobson/da6505a54a6d0f0447e6615671ad9f67 to your computer and use it in GitHub Desktop.
Save pjobson/da6505a54a6d0f0447e6615671ad9f67 to your computer and use it in GitHub Desktop.
Linux Adblock YouTube WebApp

Linux Adblocked YouTube WebApp

I suspect this will work for any Mint/Debian/Ubuntu variant distribution.

WebApps

This requires a package called WebApps included with Linux Mint. You can download the source or deb file from their releases section, it is contained in the packages.tar.gz file.

Requirements if you do not have it installed are:

gir1.2-xapp-1.0 (>= 1.4)
python3, python3-gi, python3-bs4, python3-configobj, python3-pil, python3-setproctitle, python3-tldextract
xapps-common
dconf-gsettings-backend | gsettings-backend

Setup

  • Open WebApps
  • Click + at the bottom
  • Name: YouTube
  • Address: https://www.youtube.com
  • Icon: Select whatever you want.
  • Category: Web
  • Browser: Firefox
  • Customer paramters: n/a
  • Navigation bar: yes
  • Private/Incognito Window: no
  • Click OK button

Install Addons

  • Open YouTube web app.
  • Install uBlock Origin
    • Click uBlock Icon
    • Click Settings
    • I enable all filters, except regional.
    • Click Update now button.
    • Close uBlock settings tab.
  • Install Sponsor Block
    • This will auto-open the settings.
    • Set whatever you want.
    • Close the tab.
  • Close YouTube WebApp
  • Click Edit Icon
  • Navigation bar: no
  • Click OK button

ENJOY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment