Open gedw99 opened 1 month ago
Safari is the only browser I can't natively support, since there is no way to programmatically use it in "application mode" (without it's header etc.). This issue is also related to it. Once there is a way to programmatically do this, I'm open to adding Safari support.
Safari is the only browser I can't natively support, since there is no way to programmatically use it in "application mode" (without it's header etc.). This issue is also related to it. Once there is a way to programmatically do this, I'm open to adding Safari support.
I read the Issue and added a Screen shot to the bottom of that Issue for Clarification.
Do you mean to programatically do "Add to Dock" in Safari ?
Exactly! We would need a way to do that programmatically, preferably by launching Safari.app
with some additional arguments (that's how Chrome does it), or maybe with AppleScript?
Ok, thanks for clarifying.
I did some digging for a way but came up short...
Some pertinent links .. but not Elephant Stamp for my homework.
https://github.com/binwiederhier/ntfy is maybe looking at as its golang with JS and a Web app pushing hardest at getting PWA ( as A2HS ) everywhere. It's a Notification pusher, and so quite a hard beast to slay. I run it fine on IOS and MAC.
Some insight into whats going on under the covers with latest MAC that drops a week ago. https://eclecticlight.co/2023/10/05/how-do-sonomas-web-apps-work/
I think that it is possible using Automator and AppleScript together . Saw a lot of devs doing this to do low level manipulation of Safari
From the looks of it Safari is not officially supported ?
https://github.com/pojntfx/hydrapp/blob/main/hydrapp/pkg/ui/browser_types.go
I am on MAC. At the moment the examples work ok on a MAC, and open Chrome. Adding Safari "should" be painless. Safari also has "profiles", like Chrome has, and so we might be able to make it use an empty profile, like what Chrome does.