Skip to content

Support for running as Safari extension#51

Open
stigi wants to merge 2 commits into
Blogger-Peer-Review:masterfrom
stigi:safari
Open

Support for running as Safari extension#51
stigi wants to merge 2 commits into
Blogger-Peer-Review:masterfrom
stigi:safari

Conversation

@stigi

@stigi stigi commented Mar 17, 2024

Copy link
Copy Markdown

Hi folks,

I've spent some some time turning this into a Safari extension and put up the code over here: https://github.com/stigi/quotebacks-safari

An unsigned build can be found under the releases tab.

I used the Xcode extension converter and then cleaned up the generated project structure a bit (individual steps can be followed in the commit history of mentioned repo).
I had to fix one issue though which was that the callback when probing for the content scripts to be loaded (via sending a "ping" message) never fired. I added a timeout which serves the same purpose in a slightly more hacky way.

I'm attaching some screenshots to show the new extension in action. As a bonus I've added logic to dynamically show the correct shortcut (alt+s vs ctrl+shift+s) for different browsers.

CleanShot 2024-03-17 at 08 18 40@2x
CleanShot 2024-03-17 at 08 19 28@2x
CleanShot 2024-03-17 at 08 20 01@2x
CleanShot 2024-03-17 at 08 22 06@2x

What's next?

I'm thinking about releasing it to the AppStore and could do so under my paid developer account, if you folks are cool with that. Alternatively I could explore making the extension available as a signed app as a GitHub release.
Or you could release it under another App Store account.

I'm also very open for moving the code into this repo, or another repo in this org.

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.

1 participant