redux-devtools icon indicating copy to clipboard operation
redux-devtools copied to clipboard

Big Sur Safari WebExtensions API support

Open damo78 opened this issue 4 years ago • 5 comments

This is just a question so hope it is okay to post here.

I've noticed that in Apple's Big Sur release they've added WebExtensions API support to Safari and suggested for developers it's an easy port. Is there a chance of having a Redux Dev Tools extension in Safari now?

damo78 avatar Nov 17 '20 11:11 damo78

Yeah, it sounds like it should be possible. I'll plan to include a Safari extension release for 3.0 if it truly is an easy port. I also need to add support for Edge as well.

Methuselah96 avatar Nov 17 '20 14:11 Methuselah96

Any update on this?

trytuna avatar Sep 20 '22 11:09 trytuna

@Methuselah96 any luck? anything we can help with? I can gladly try and port some of the needed code if you point me in the right direction

dvaldivia avatar Oct 11 '22 22:10 dvaldivia

I tried using the export tool from apple which allows to import existing extensions and port them to safari via

xcrun safari-web-extension-converter /path/to/extension

the result can run in safari, but I get no output, the background is there so I assume part of the extension is loading, but it would be useful to know if there's any way to get a console or output from that component, do you guys know?

Screen Shot 2022-10-11 at 3 53 42 PM

dvaldivia avatar Oct 11 '22 22:10 dvaldivia

In Safari 17 the extension generated by using the xcrun safari-web-extension-converter tool on the non-prod Firefox version of the extension only requires removing the chrome.notifications.onClicked reference in the background page script in order to get a fully working Redux DevTools.

So close, but I can image the distribution overhead that Apple requires for Safari extensions nowadays still makes this quite the hassle...

markvl91 avatar Oct 31 '23 21:10 markvl91