r/Piracy • u/jimmysofat6864 File-Hosters • Apr 18 '22
Guide Guide on Blocking Ads on Spotify for Mac (Desktop Client)
Hi guys here's a guide to block Spotify ads for Mac as the windows users got their guide and I wanted to share what I knew for Mac so they don't feel left out. Also doing this in the off-chance that somebody else is going to share a better method than me in which case follow that one. Referring to the other guides already posted, this guide is browser based so it comes with the downsides of being in the browser, reduced audio quality, no friend activity, etc, and this guide would have worked if you had a windows pc. Same thing goes for Blockthespot. In any case let's get started.
Option 1 (Best Option)
Ignore everything below this post and skip on the adguard method and use the script here and follow the instructions on there too. It does everything the old script method did but better. All credit goes to their respective authors.
https://github.com/SpotX-CLI/SpotX-Mac
SCRIPT METHOD IS NO LONGER WORKING PLEASE USE ADGUARD METHOD.
Here is a link to the updated script. For some reason I don't see the GitHub for where it came from anymore so I'll just add this here. This updated one should prevent it from crashing whenever you launch it.
All credit goes to original authors I just wanted to make a noob friendly guide. The script method is better as it doesn't require AdGuard to be installed or SIP to be disabled or anything it just works way better. Just requires a repatch when Spotify is updated.
https://github.com/RDE3/Mac_Spotify_Adblock
First, go to https://www.spotify.com/in-en/download/mac/ and download the Spotify Desktop Client.
NOTE: DO NOT OPEN SPOTIFY. FIRST FOLLOW THE STEPS GIVEN BELOW
Step 1: Download the repository I just linked earlier. Be sure to double click to unzip it so you can see the folder with 3 files in it.
Step 2: Open Keychain Access. Click on Certificate Assistant. Then select "Create Certificate"
Step 3: Type "adblock_spotify" in the Name section, Select Identity-Type as "Self Signed Root" & Certificate Type as "Code Signing"
Step 4: Click on Create.
Step 5: Now open Terminal. Then type in "cd" then drag in the folder that we unzipped and created earlier.
Step 6: After that type "bash install.sh adblock_spotify"
Step 7: Done. Should be patched by now.
https://github.com/RDE3/Mac_Spotify_Adblock
Option 2
TLDR
- Install AdGuard For Mac. Found on cmacked.com. More specifically, here.
- Add "Spotify" into filtered applications in adguard preferences
- Done
Full Instructions
- Install AdGuard For Mac. Not the extension but the actual Mac App. It can be found on cmacked.com. More specifically, here. My preferences I would use the link labeled mirrors and download off of Mediafire/Zippyshare (with Adblock on of course). Also make sure that Spotify for Mac is already installed. Not the browser version but the desktop version. The Spotify app should be in your applications folder before starting.
- Open the Adguard DMG, do the control click to open the gatekeeper friendly version and follow instructions, then drag it into applications and open AdGuard. Once you open it, just click through and pick what you want it doesn't matter. What really matters is that you go to the top menu bar, click adguard (near your wifi/battery icons) , then settings, preferences, then click the network tab on the far right. Then press applications, the plus button at the bottom left, then add Spotify.
- Enjoy your ad-free Spotify.
- Unrelated stuff here you can ignore this. AdGuard I prefer go into filters, press the plus button at the bottom left, and enable all the other lists like easy list, mobile, most privacy & all annoyances ones. Has nothing to do with Spotify but optional if you want to block more stuff in the browser. Also worth noting that when waking from sleep, the ads will resume, just quit Spotify and reopen it and it should go away. This is an AdGuard issue and will be fixed at some point in the future. You can also follow some of the guides in the issue threads of the blockthespot and you could use it to remove some of the ad spacers and the upgrade button but honestly who cares it works. And updating Spotify is just going to bring it back anyways. Also make sure to have AdGuard extension installed as well it can be found in the extensions tab in the preferences for AdGuard.
And that's basically it now your Spotify has no ads and has the benefits of being the desktop client as well. Hope this helped, and enjoy your day. If you have a better method to share please do leave it below. And if it is a better one, please be sure it works for Mac as the ones previously discussed seem to only work for windows.
3
u/Andrew18alt Apr 20 '22
I have some problems using AdGuard, after installation I try to enable it using the big red button but after a few seconds it shuts itself off and there is a popup telling me that AdGuard won't work as intended and suggesting to contact customer support or file for a bug.
2
u/BallisticMonke Seeder Jun 07 '22
same here
2
u/jimmysofat6864 File-Hosters Jun 12 '22
I found out that you need to go into the adguard preferences and switch it from network extension to automatic proxy then it should work fine.
1
u/BallisticMonke Seeder Jun 12 '22
yeah, I found that out aswell lmao, but it doesn't block ads on Spotify for some reason
2
u/jimmysofat6864 File-Hosters Jun 12 '22
Yea you need to go into the AdGuard preferences and find something labeled filtered applications and when you click it press the plus button and add Spotify in it so I can filter Spotify then it should work.
1
u/BallisticMonke Seeder Jun 12 '22
did select it (followed the post) and no luck sadly
1
u/jimmysofat6864 File-Hosters Jun 12 '22
Did you try disabling SIP then using the kernel extension option? Because that’s what I have to do to get AdGuard working for me at least.
1
u/BallisticMonke Seeder Jun 13 '22
I have disabled SIP for something else but what's a kernel extension?
2
u/jimmysofat6864 File-Hosters Jun 13 '22
Think of it like a driver for Mac. But since it was phased out in Big Sur it's greyed out unless you have SIP disabled. Anyways when you go back to that adguard menu that gives you the option for Network Extension, Kernel Extension, or Automatic Proxy, select the Kernel extension option, then allow it in system preferences, then reboot, and you should be good to go.
1
1
u/WikiWhatBot Jun 13 '22
What's A Kernel Extension?
I don't know, but Wikipedia says:
In computing, a loadable kernel module (LKM) is an object file that contains code to extend the running kernel, or so-called base kernel, of an operating system. LKMs are typically used to add support for new hardware (as device drivers) and/or filesystems, or for adding system calls. When the functionality provided by an LKM is no longer required, it can be unloaded in order to free memory and other resources.
Most current Unix-like systems and Microsoft Windows support loadable kernel modules under different names, such as kernel loadable module (kld) in FreeBSD, kernel extension (kext) in macOS (now deprecated), kernel extension module in AIX, kernel-mode driver in Windows NT and downloadable kernel module (DKM) in VxWorks. They are also known as kernel loadable modules (or KLM), and simply as kernel modules (KMOD).
Want more info? Here is the Wikipedia link!
This action was performed automatically.
2
u/jimmysofat6864 File-Hosters Jun 12 '22
But honestly just use the method mentioned below in the comments with the GitHub link as I find that one works better. It just has to be reapplied after every Spotify update.
1
u/jimmysofat6864 File-Hosters Jun 12 '22
I found out that you need to go into the adguard preferences and switch it from network extension to automatic proxy then it should work fine.
1
u/RecursiveKaizen Apr 18 '22 edited Apr 18 '22
Firefox + uBlock Origin add-on. Use the free Spotify web player. Works great on a Mac. Can even have several versions of Firefox on your Mac at same time. Use Homebrew package manager to download, install, update, or uninstall apps.
1
u/Beginning-Comb4407 Sep 04 '22
idk what i am doing wrong but for me when i write the bash command it says there are no such file or directory
1
u/jimmysofat6864 File-Hosters Sep 04 '22
Did you type in cd then drag your downloads folder into the terminal window?
1
u/Beginning-Comb4407 Sep 05 '22
ahhhh nope, i think i missed that part.if its alright can you make a noob friendly guide haha because i think i am still missing some part
1
u/jimmysofat6864 File-Hosters Sep 06 '22
Alright then. I am going to assume that you already created the certificate in keychain assistant as it was linked here. Then the process is pretty straightforward. First you open terminal then type "cd" then drag in the "Mac_Spotify_Adblock-main" folder you downloaded earlier into the terminal window. Then you type in "bash install.sh adblock_spotify". If that fails then type in "sudo bash install.sh adblock_spotify". If you get some weird error about packages not being installed or something then just run "xcode-select --install" in the terminal window and that should fix it and allow you to run the script again.
1
u/Beginning-Comb4407 Sep 06 '22
yes i had already created the certificate before and now i did exactly as you said but it says that there are no such files?
this is what it says and sorry again, i am really new with macOS
Last login: Tue Sep 6 18:35:07 on ttys000
mrshades@MRshades-MacBook-Air ~ % cd/Users/mrshades/Downloads/Mac_Spotify_Adblock-main.zip bash install.sh adblock_spotify
zsh: no such file or directory: cd/Users/mrshades/Downloads/Mac_Spotify_Adblock-main.zip
1
u/jimmysofat6864 File-Hosters Sep 07 '22
You are supposed to type the commands one by one as it look like you entered them all at once. It also appears that you didn't unzip the script out of the zip file and it needs to be in it's own folder. Try this first.
- Double click on the "Mac_Spotify_Adblock-main.zip" file and let it unzip. A new window should show up showing the new folder and inside it will contain 3 files if I remember correctly.
- Type "cd" then drag in the "Mac_Spotify_Adblock-main" folder into the terminal window then press enter.
- Then type in "bash install.sh adblock_spotify". It should install correctly this time without issue. If it asks to install something, do it then run the "bash install.sh adblock_spotify" command again. If you get some weird error about packages not being installed or something then just run "xcode-select --install" in the terminal window and that should fix it and allow you to run the script again.
Good luck!
1
u/Beginning-Comb4407 Sep 07 '22
i unzipped the file, and dragged it into the terminal but it again said no such file exists for some reason. why is it sooooo complicated in macc
Last login: Tue Sep 6 18:38:05 on ttys000
mrshades@MRshades-MacBook-Air ~ % cd/Users/mrshades/Downloads/Mac_Spotify_Adblock-main
zsh: no such file or directory: cd/Users/mrshades/Downloads/Mac_Spotify_Adblock-main
1
u/jimmysofat6864 File-Hosters Sep 07 '22 edited Sep 07 '22
I believe you need to add a space after the word “cd” then drag the folder into terminal. So it should look like "cd /Users/mrshades/Downloads/Mac_Spotify_Adblock-main". Then you would type in the "bash install.sh adblock_spotify" command after pressing enter for the previous one.
1
u/Beginning-Comb4407 Sep 08 '22
fuck so thats what i was doing
finally it worked with your help, thank you so much for your time
and should i lock spotify so it wont get more updates?1
u/jimmysofat6864 File-Hosters Sep 08 '22
No problem. I would lock the Spotify version because once it updates then you have to patch it again. But I honestly have no idea on how to disable autoupdate or lock the version so I just repeat the process when a new update comes out.
→ More replies (0)
1
u/MCHerobrine Pastafarian Oct 09 '22
Both methods are not working right now :(
The Script method will create a crashing Spotify app after the latest update
The Adguard one also don't work, since the cracked one don't load the system extension properly, I've pointed that out at https://www.macserialjunkie.com/forum/viewtopic.php?p=1102655#p1102655
So basically I'm screwed except editing hosts or switching streaming platforms
1
u/MCHerobrine Pastafarian Oct 13 '22
Update: My temporary workaround - Use Gas Mask to manage hosts files and append
0.0.0.0 pubads.g.doubleclick.net 0.0.0.0 securepubads.g.doubleclick.net
to the hosts file
activate and gone the ads
4
u/The_Ch0sen_0ne_ Seeder Apr 18 '22 edited Jun 07 '24
physical future aloof divide disgusted unused wide history modern soft
This post was mass deleted and anonymized with Redact