This is an attempt to block ads from spotify via DLL Proxying
The call to cef_urlrequest_create
is replaced with a custom function that blocks urls which can lead to the playing of ads, and it redirects the other URLs to the original function.
the source code of the redirected functions resides here , the custom function code resides here
and the redirect generator code resides here
- Go to %APPDATA%\Spotify and rename the libcef.dll that resides there to libcef_orig.dll
- Download the libcef.dll from releases in this github repository
- copy the downloaded libcef.dll to %APPDATA%\Spotify
- Launch Spotify