whatsthatabout 23 hours ago

As stated in the readme, this is my first coding project using Swift and Xcode. As a beginner, I welcome any help, suggestions, or contributions to improve the code and functionality!

2
CharlesW 14 hours ago

Nice work! As someone who's about to try their hand at their first Safari extension (and first web extension period, something in the spirit of Tabs Outliner), do you have any tips or tricks you could share?

whatsthatabout 12 hours ago

I read a lot online and of course LLMs can probably help you there. I would suggest if it's nothing macOS/safari specific you want to build, start using chrome and develop the extension for it first. If you want to add safari to the list of supported browser later, you can easily adapt the code (as long as safari supports the apis for it).

bsimpson 14 hours ago

I'm surprised to see native code in a web extension.

dangus 14 hours ago

Safari doesn’t use the same extension architecture as Chrome and Firefox.

https://developer.apple.com/documentation/SafariServices/saf...

whatsthatabout 12 hours ago

Thats true, but in the end the web extension itself can work with all browsers (if the apis are implemented of course). AutoPiP for example would work without any modifications in chrome/firefox but they implement their own PiP api so it doesn't activate the macOS native one...