DefaultBrowser
DefaultBrowser copied to clipboard
Browsers created with "Add to Dock..." are not listed
I notice that site-specific browsers I created with Safari's "Add to Dock..." feature qualify as browsers to open URLs in, but they are not listed in the app
I only started using such site-specific browsers recently
Can you clarify what "qualify as browsers to open URLs in"? I'm not seeing that myself, so I'm missing something.
Sure!
- Go to Wikipedia.
- Safari > File > Add to Dock...
- Open and close the new Wikipedia site app to make sure you're familiar with it
Next
- Click any link to Wikipedia link
- It will open in the new site app rather than Safari
Also
- If you go to any Wikipedia website in Safari (like using Open in new tab, or pasting a URL) then that page will have a bar across the top allowing you to open in the site app
I see, looks like it didn't register immediately for me the first time I tried.
There are some interesting things in those application bundles which make me think this could be possible. They're basically just an Info.plist, icon, and code signing stuff. The Info.plist does register the app as capable as opening the scheme x-webkit-app-launch, but querying for apps that handle that didn't work at first try (possibly because LSHandlerRank is none?). They also have a common com.apple.Safari.WebApp.{UUID} bundle ID, which I might be able to search by. They also appear to be marked as LSTemplateApplication, and opened by the system app com.apple.Safari.WebApp, which I might be able to mess with.
Sounds promising!