web-monetization-projects icon indicating copy to clipboard operation
web-monetization-projects copied to clipboard

[SAFARI] v14 with WebExtension API (final ETA ~14-18th September)

Open sublimator opened this issue 4 years ago • 12 comments

And now, Xcode 12 supports the popular WebExtension API and includes a porting tool to make it easy to bring your extensions to Safari.

XCode 12 beta and Safari Tech Preview can be used on MacOS Catalina.

Links:

  • https://developer.apple.com/safari/extensions/
  • https://developer.apple.com/videos/play/wwdc2020/10665/
  • https://hacks.mozilla.org/2020/06/welcoming-safari-to-the-webextensions-community/
  • [x] Build extension for Safari 14
  • [x] Open issue regarding content scripts in iframes
    • [x] https://developer.apple.com/forums/thread/653307
      • [x] fixed in latest safari builds (not yet)
      • [x] https://feedbackassistant.apple.com/feedback/8212645
  • [x] Coil Apple developer team (Travis says there is one)
    • [x] [email protected] apple id added
    • [x] needs account owner to agree to updated license before allowed access to signing certs
  • [ ] Fix issues
    • [ ] browserAction icon seems to look a little strange on Safari
  • [ ] release to App store
    • [x] Ask about releasing for Safari betas: https://developer.apple.com/forums/thread/658697
    • [x] await response (none, but safari v14 is released ... )

sublimator avatar Jul 06 '20 08:07 sublimator

https://developer.apple.com/forums/thread/94567 image

sublimator avatar Jul 07 '20 06:07 sublimator

Was able to build the extension by creating a new extension and manually adding in the files to the Resources

It seems there are some issues with frameId missing, which we might be able to report and get fixed before macOS Big Sur is released:
image

sublimator avatar Jul 07 '20 07:07 sublimator

image image

Seemingly works if default frameId to 0

sublimator avatar Jul 07 '20 07:07 sublimator

Asked about content scripts iframes on Apple developer forum here: https://developer.apple.com/forums/thread/653307

sublimator avatar Jul 07 '20 07:07 sublimator

Updated question

sublimator avatar Jul 13 '20 09:07 sublimator

image

I see. The frameId missing issue has been fixed. It should be in the next seed, and also Safari Technology Preview. Posted 16 hours ago by timothy.hatcher 

sublimator avatar Jul 16 '20 08:07 sublimator

Still broken in latest Safari builds: Safari: Version 14.0 (15610.1.20.4, 15610)

reported

sublimator avatar Jul 17 '20 09:07 sublimator

Apple reported that it's fixed in Tech Preview 110

The fix is not in a beta seed yet. Try Safari Technology Preview 110, it should have the fix.

This doesn't seem to be the case though. Reported again.

sublimator avatar Jul 20 '20 07:07 sublimator

Update from Apple:

Thanks, we have found the issue and are investigating.

sublimator avatar Jul 24 '20 07:07 sublimator

Tried with Safari Preview 111, and the bug is still there

sublimator avatar Aug 04 '20 09:08 sublimator

A fix has been found, it has not shipped in a beta or Safari Technology Preview yet.

sublimator avatar Aug 04 '20 09:08 sublimator

The (developer) beta 3 of Safari 14 (released on 14th August) for Catalina seems to have this bug fixed.

image

sublimator avatar Aug 15 '20 03:08 sublimator