lovely-forks icon indicating copy to clipboard operation
lovely-forks copied to clipboard

Add Safari 12+ extension

Open ShotSkydiver opened this issue 4 years ago • 8 comments

So this is a new Safari 12+ extension that I've built, I've got it running in my Safari 14 beta and it works perfectly!

ShotSkydiver avatar Jul 23 '20 18:07 ShotSkydiver

Oh, right! to test it locally, all you need to do is open the xcodeproj file in Xcode, then simply Run the Lovely forks scheme, and then open Safari, go to the Develop menu, and check "Allow unsigned extensions", then finally, go to the Extensions tab in Safari preferences, and enable the Lovely forks extension!

Screen Shot 2020-07-23 at 2 11 48 PM

ShotSkydiver avatar Jul 23 '20 20:07 ShotSkydiver

Hmm, getting the XCode setup is taking a bit longer than I had hoped for and I have a busy few days coming up.

I think I'll pick this up in the middle of next week.

musically-ut avatar Jul 26 '20 10:07 musically-ut

I'm happy to report that I do have my XCode setup correctly now (I think).

However, I'm giving #53 more priority. I'll keep this PR open and keep you posted.

musically-ut avatar Aug 03 '20 07:08 musically-ut

Any hints before I dig in any deeper:

grafik

?

musically-ut avatar Aug 03 '20 15:08 musically-ut

Hmm... it looks like you'll have to be on the macOS Big Sur beta to build this, I didn't realize that the SFExtensionMessageKey was a new property included in Big Sur: https://developer.apple.com/documentation/safariservices/sfextensionmessagekey

ShotSkydiver avatar Aug 03 '20 21:08 ShotSkydiver

just FYI, since Big Sur has been publicly released, this should be feasible for anyone to build using the publicly available Xcode 12.2

ShotSkydiver avatar Dec 15 '20 21:12 ShotSkydiver

Now that I have some time and the first minor version update to Big Sur has been released, I'm finally ready to upgrade.

I'll keep you posted; I'll need to dig a bit deeper into how to reconcile the code-base together instead of having to replicate the fixes in the core extension in three places separately (i.e. Userscript + Safari extension).

musically-ut avatar Dec 26 '20 17:12 musically-ut

@ShotSkydiver I have tried converting several extensions including this one on Big Sur 11.1 and Xcode 12.3; they just won't show up in Safari's extension list even with the 'unsigned' turned on.

They do/did show up in "Safari Technology Preview." Have you had luck running the converted extension on 11.1?

astrowonk avatar Jan 03 '21 23:01 astrowonk