All Projects → abba23 → Spotify Adblock Linux

abba23 / Spotify Adblock Linux

Licence: gpl-3.0
Spotify adblocker for Linux

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Spotify Adblock Linux

Hosts Blocklists
Automatically updated, moderated and optimized lists for blocking ads, trackers, malware and other garbage
Stars: ✭ 1,749 (+172.85%)
Mutual labels:  adblock, ads, dns, blacklist
unbound-dns-firewall
DNS-Firewall Python script for UNBOUND
Stars: ✭ 23 (-96.41%)
Mutual labels:  dns, whitelist, blacklist, ads
Neodevhost
The Powerful Friendly Uptodate AD Blocking Hosts 最新强大而友善的去广告
Stars: ✭ 336 (-47.58%)
Mutual labels:  adblock, ads, blacklist, whitelist
1hosts
DNS filter-/blocklists | safe. private. clean. browsing!
Stars: ✭ 85 (-86.74%)
Mutual labels:  adblock, ads, dns, blacklist
Hblock
Improve your security and privacy by blocking ads, tracking and malware domains.
Stars: ✭ 724 (+12.95%)
Mutual labels:  adblock, ads, dns
SpotifyAdBlocker-Windows
Spotify Adblocker for windows
Stars: ✭ 42 (-93.45%)
Mutual labels:  spotify, blacklist, adblock
CyberSecurity-Box
Firewall-System based on OpenWRT or Pi-Hole with UnBound, TOR, optional Privoxy, opt. ntopng and opt. Configuration of the AVM FRITZ!Box with Presets for Security and Port-List. Please visit:
Stars: ✭ 20 (-96.88%)
Mutual labels:  whitelist, blacklist, ads
Iosadblocklist
Ultimate Host List for Mobile Adblockers (Focused on iOS)
Stars: ✭ 229 (-64.27%)
Mutual labels:  adblock, ads, blacklist
black-mirror
Automatically maintained malicious host blacklists and false-positive whitelists.
Stars: ✭ 41 (-93.6%)
Mutual labels:  dns, whitelist, blacklist
DNS-Sinkhole-Lists-A2
A DNS Sinkhole List for testing purposes. (not for use in production systems) - UUID: 0f90ca2c-4b0a-4fbe-b659-449ab30c4284
Stars: ✭ 19 (-97.04%)
Mutual labels:  dns, whitelist, blacklist
Blocker Database
A global domain based database for NoScript, uBlock, uMatrix & ScriptSafe
Stars: ✭ 127 (-80.19%)
Mutual labels:  adblock, blacklist, whitelist
accomplist
ACCOMPLIST - List Compiler
Stars: ✭ 51 (-92.04%)
Mutual labels:  whitelist, blacklist, ads
retrie
Efficient Trie-based regex unions for blacklist/whitelist filtering and one-pass mapping-based string replacing
Stars: ✭ 35 (-94.54%)
Mutual labels:  whitelist, blacklist
additional-hosts
🛡 List of categorized undesired hosts
Stars: ✭ 13 (-97.97%)
Mutual labels:  blacklist, adblock
afdns
Ad free DNS server. A docker container with a DNS server configured to block advertisement hosts.
Stars: ✭ 27 (-95.79%)
Mutual labels:  dns, blacklist
GoHole
GoHole is a DNS server written in Golang with the same idea than the PiHole, blocking advertisements's and tracking's domains
Stars: ✭ 28 (-95.63%)
Mutual labels:  dns, ads
laravel-leaderboard
No description or website provided.
Stars: ✭ 39 (-93.92%)
Mutual labels:  whitelist, blacklist
hosts
🄯Curated lists of hosts files with various domain blocks.🄯
Stars: ✭ 15 (-97.66%)
Mutual labels:  blacklist, adblock
spotify-adblock
Adblocker for Spotify
Stars: ✭ 675 (+5.3%)
Mutual labels:  spotify, adblock
Scriptsafe
a browser extension to bring security and privacy to chrome, firefox, and opera
Stars: ✭ 434 (-32.29%)
Mutual labels:  blacklist, whitelist

spotify-adblock-linux

Spotify adblocker for Linux that works by wrapping getaddrinfo and cef_urlrequest_create, blocking non-whitelisted domains and blacklisted URLs.

Notes

  • This does not work with the snap and Flatpak Spotify packages.

Build

Prerequisites:

  • Git
  • Wget
  • tar
  • Make
  • GCC
  • libc headers (e.g. libc-dev on Debian-based distributions)

$ git clone https://github.com/abba23/spotify-adblock-linux.git
$ cd spotify-adblock-linux
$ wget -O cef.tar.bz2 https://cef-builds.spotifycdn.com/cef_binary_88.1.6%2Bg4fe33a1%2Bchromium-88.0.4324.96_linux64_minimal.tar.bz2
$ tar -xf cef.tar.bz2 --wildcards '*/include' --strip-components=1
$ make

Install

$ sudo make install

Usage

Command-line

$ LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify

Desktop file

You can also integrate it with your desktop environment by creating a .desktop file (e.g. spotify-adblock.desktop) in ~/.local/share/applications. This lets you easily run it from an application launcher without opening a terminal.

Example

[Desktop Entry]
Type=Application
Name=Spotify (adblock)
GenericName=Music Player
Icon=spotify-client
TryExec=spotify
Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U
Terminal=false
MimeType=x-scheme-handler/spotify;
Categories=Audio;Music;Player;AudioVideo;
StartupWMClass=spotify

Uninstall

$ sudo make uninstall
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].