Spotify Adblocker for windows

Overview

SpotifyAdBlocker-Windows

This project is a try to port This one to windows the way it is done is with dll redirection, the call to cef_urlrequest_create is traited with a custom function that blocks urls that are blacklisted, and it redirects the good URLs to the original function.

Build from source

Prerequisites:

  • Visual Studio 2019

  • Clone this repo
  • download Chromium Embedded Framework and unzip the include folder to SpotifyAdBlocker-Windows\extern folder
  • open SpotifyAdBlocker-Windows.sln
  • build the project (of course after you take a look at what's going on there to make sure no nasty thing is happening :p )
  • locate where is the output libcef.dll, it should be in $(SolutionDir)bin\$(Platform)\$(Configuration)\
  • open Spotify folder, it should be in %appdata%\Spotify, or if you have a shortcut, then right click it and click on Open File Location
  • rename the libcef.dll in that folder to libcefNative.dll
  • move or copy the libcef.dll that you just compiled into the Spotify folder

Use the precompiled dll

  • download the latest stable release of SpotifyAdBlocker-x86.zip and unzip it.
  • follow steps in the readme.txt file.

alternatively

  • you can download the Setup batch script from here which automatically does the previous steps for you!

looks like you are done now! open Spotify and enjoy your music without ads.

TODO:

  • the linux version wraps getaddrinfo to allow only URLs in the white list to be traited, but I couldn't do the same thing in windows because for security reasons, so as a todo try to find a work around.
Issues
  • Automated script

    Automated script

    Hey first of all thanks for your work ^^,

    I wrote a batch script which automatically downloads the latest release and changes the files required after which it cleans up after itself.

    The script can be found here and you are more then welcome to include it into your repo if you want.

    opened by Lyceris-chan 2
  • Spotify overwrite the dll after automatic updates

    Spotify overwrite the dll after automatic updates

    After Spotify auto-update, it overwrites the libcef.dll with the old one.

    the proposed solution is to disable spotify auto-updates. to do so run the following commands from an Admin Command Prompt

    rmdir %localappdata%\Spotify\Update
    mkdir %localappdata%\Spotify\Update
    icacls %localappdata%\Spotify\Update /deny "%username%":D
    icacls %localappdata%\Spotify\Update /deny "%username%":R
    

    solution is from here

    opened by sqrt-minus-one 0
Releases(v1.0)
Owner
Mouad Fakhri
Mouad Fakhri
A Minimal Web Browser with Built-in Adblocker in Less Than 100 Lines of Code

A Minimal QtWebEngine Web Browser with Adblocker How Does It Work This is a minimal network filter implementation using QWebEngineUrlRequestIntercepto

Penk Chen 18 May 14, 2022
Spotify ogg dumper

Soggfy - SpotifyOggDumper Previous Spotify downloader projects (XSpotify, spotifykeydumper) worked by recovering encryption keys and re-downloading tr

Daniel 261 Jun 25, 2022
View your current playing song on ESP32 & OLED display using Spotify API

esp32-spotify-oled View your current playing song on ESP32 & OLED display using Spotify API Spotify Visit Spotify Dashboard https://developer.spotify.

Felix Biego 3 Jun 26, 2022
Implements a Windows service (in a DLL) that removes the rounded corners for windows in Windows 11

ep_dwm Implements a Windows service that removes the rounded corners for windows in Windows 11. Tested on Windows 11 build 22000.434. Pre-compiled bin

Valentin-Gabriel Radu 16 Jun 18, 2022
Windows 2000 styled installer for Panther based distributions of Microsoft Windows (WIM files).

An advanced installer for Microsoft Windows that mimics the looks of the Windows XP and older installers. Takes any modern (Vista and newer) Windows ISO or WIM file and creates a old styled Windows Setup experience on the go.

null 2 Mar 17, 2022
Windows kernel information leakage POCs on Windows 10 RS1+

This repository covers various techniques and methods I write while conducting research into infoleaks, these are for leaking various Windows kernel a

null 2 Jun 15, 2022
Some extensions for windows explorer, tested on windows 10+

WindowsExplorerExtension Extensions for windows explorer, tested on windows 10 & windows 11. New Folder Extension What's This A Gnome nautilus inspire

anpho 4 Jan 13, 2022
Defender-control - An open-source windows defender manager. Now you can disable windows defender permanently.

Defender Control Open source windows defender disabler. Now you can disable windows defender permanently! Tested from Windows 10 20H2. Also working on

null 292 Jun 27, 2022
Windows 7/2008 R2 EoP

Windows RpcEptMapper Service EoP exploit Clément Labro (@itm4n) released in November 12, 2020 all the details for a vulnerability on Windows 7 and Win

neosysforensics 13 Mar 29, 2021
Gaming Input Peripherals Device Firewall for Windows.

HidHide ⚠️ Compiling a signed BETA release is in the works, please be patient! ⚠️ Introduction Microsoft Windows offers support for a wide range of hu

Virtual Gamepad Emulation Framework 261 Jun 20, 2022
Asteroids Clone for Windows

Asteroids Clone for Windows This game is a simple Asteroids clone primarily intended to demonstrate the capabilities and flexibility of w64devkit. It

Christopher Wellons 16 Jun 21, 2022
A program that allows you to hide certain windows when sharing your full screen

Invisiwind Invisiwind (short for Invisible Window) is an application that allows you to hide certain windows when sharing your full screen.

Joshua T. 56 May 25, 2022
A beginner friendly desktop UI for Tasmota flashed devices for Windows, macOS and Linux.

TasmoManager A beginner friendly desktop UI for Tasmota flashed devices for Windows, macOS and Linux. Features Native Tasmota device discovery (via ta

Tom Butcher 43 Jun 16, 2022
Slackware for Windows Subsystem for Linux (WSL)

WSLackware: Slackware on Windows! Slackware for Windows Subsystem for Linux (WSL) WSLackware is an unofficial version of Slackware for Windows Subsyst

Mohsen Seifi 38 Jun 24, 2022
Add virtual monitors to your windows 10 device! Works with Oculus software, obs, and any desktop sharing software

License MIT and CC0 or Public Domain, whichever is least restrictive -- Use it AS IS - NO IMPLICIT OR EXPLICIT warranty This may break your computer,

Rashi Abramson 162 Jun 21, 2022
The old Windows NT OpenGL samples/SDK from an MSDN CD.

The OpenGL API is supported on a variety of graphics hardware; the software in this release provides support for graphics hardware including basic emulation on any video adapter that is supported with the operating system, and accelerated graphics hardware that is supported by an OpenGL mini-client driver (MCD) or an OpenGL installable client driver (ICD).

Ian Hanschen 18 Jan 9, 2022
A Dart package to send native 💬 toasts on Windows. Based on WinToast.

desktoasts A Dart package to send native ?? toasts on Windows. Installation For Flutter dependencies: ... desktoasts: ^0.0.2 For Dart CLI here Sup

Hitesh Kumar Saini 37 Mar 7, 2022
A library to develop kernel level Windows payloads for post HVCI era

A library to develop kernel level Windows payloads for post HVCI era

Dmytro Oleksiuk 244 Jun 26, 2022
A cross-platform (Android/iOS/Windows/macOS) cronet plugin for Flutter via `dart:ffi`

cronet_flutter A cross-platform (Android/iOS/Windows/macOS) cronet plugin for Flutter via dart:ffi

null 20 Jun 15, 2022