tomer8007 / spotify-web-ads-remover

Simple extension to remove audio ads on Spotify web player
GNU General Public License v3.0
208 stars 21 forks source link

Added extension For Safari for M1 Macs. #8

Open taksh108 opened 2 years ago

taksh108 commented 2 years ago

Built SpotiAds.app from latest commit. Support for Latest version of Safari on MacOS. MacOS app and extension included in Safari folder. Instructions added for Usage in ReadMe

tomer8007 commented 2 years ago

I'm not experienced with Safari extensions, but why there is a need for M1 binary files and what do they contain?

taksh108 commented 2 years ago

Safari Extensions are distributed as macOS or iOS apps. After opening Binary, one can go to Safari and Enable the extension from Prefrences

Refer to this Apple article:


Safari only supports signed extensions distributed by the App Store, but for beta testing, you can send beta testers an unsigned copy of the macOS app containing your extension, and then instruct them how to enable testing. For more information on creating and uploading an archive, see Distributing Your App for Beta Testing and Releases. Use the “Copy App” distribution method, which will distribute a macOS app without code signing, to create a beta version of your macOS app and web extension.
Then, instruct your beta testers to enable the Develop menu in Safari and turn on the Allow Unsigned Extensions setting in order to test your extension. For more information, see Configure Safari in macOS to Run Unsigned Extensions.
tomer8007 commented 2 years ago

So what does the Mach-O binary actually do?

taksh108 commented 2 years ago

It's Just your chrome extension, packaged and built for Safari on MacOS. The binary does nothing else. I just used following guide. I referred to this guide. I have tested the extension and it does work for me, although the counter seems to remain at 0.

Screenshot 2021-11-02 at 1 39 10 AM
taksh108 commented 2 years ago

I am fairly new to this, and will be able to help more soon as I am learning more through Swift and Safari documentations

tomer8007 commented 2 years ago

OK, but does the counter go beyond 0 on Chrome at least (for you)?

crystalstorm466 commented 2 years ago

Hey do you think you could make a version for Intel macs?

taksh108 commented 2 years ago

Hey do you think you could make a version for Intel macs?

I can help you build your own. Wouldn't take long, or much coding

crystalstorm466 commented 2 years ago

I used the converter tool from Xcode and I got the chrome extension converted to Intel mac the ad interception isn't loading. I'll share my code later today.

On Tue, Feb 1, 2022, 11:49 PM taksh108 @.***> wrote:

Hey do you think you could make a version for Intel macs?

I can help you build your own. Wouldn't take long, or much coding

— Reply to this email directly, view it on GitHub https://github.com/tomer8007/spotify-web-ads-remover/pull/8#issuecomment-1027574618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS2TZT74V36NBB2MWZJP2G3UZCZXLANCNFSM5HEM4TAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

crystalstorm466 commented 2 years ago

@taksh108 I forked the main branch and added the current code of the Safari extension