Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added extension For Safari for M1 Macs. #8

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

taksh108
Copy link

@taksh108 taksh108 commented Nov 1, 2021

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
Copy link
Owner

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

@taksh108
Copy link
Author

taksh108 commented Nov 1, 2021

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
Copy link
Owner

So what does the Mach-O binary actually do?

@taksh108
Copy link
Author

taksh108 commented Nov 1, 2021

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
Copy link
Author

taksh108 commented Nov 1, 2021

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
Copy link
Owner

tomer8007 commented Nov 2, 2021

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

@crystalstorm466
Copy link

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

@taksh108
Copy link
Author

taksh108 commented Feb 2, 2022

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
Copy link

crystalstorm466 commented Feb 2, 2022 via email

@crystalstorm466
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants