Skip to content

Commit d63995a

Browse files
authored
Create README.md
1 parent ce87772 commit d63995a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Description
2+
This is an attempt to block ads from spotify via [DLL Proxying](https://kevinalmansa.github.io/application%20security/DLL-Proxying/)
3+
4+
## How it works
5+
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.
6+
the source code of the redirected functions resides [here](https://github.com/w1redch4d/PeaceSpotify/blob/main/PeaceSpotify/redir.h) , the custom function code resides [here](https://github.com/w1redch4d/PeaceSpotify/blob/ce8777259f7b15637d0219fa36549e71d8833b70/PeaceSpotify/peace.cpp#L42)
7+
and the redirect generator code resides [here](https://github.com/w1redch4d/PeaceSpotify/blob/main/script/export.bat)
8+
9+
## Installation
10+
1. Go to %APPDATA%\Spotify and rename the libcef.dll that resides there to libcef_orig.dll
11+
2. Download the libcef.dll from releases in this github repository
12+
3. copy the downloaded libcef.dll to %APPDATA%\Spotify
13+
4. Launch Spotify
14+
15+
## References
16+
[CEF](https://cef-builds.spotifycdn.com/docs/105.3/index.html)
17+
[Linux version](https://github.com/abba23/spotify-adblock)

0 commit comments

Comments
 (0)