I've written an AppleScript that I want to set as the default browser.

I've added a CFBundleDocumentTypes section to the p-list (copied from Safari) and rebuilt the launch services database, but that didn't work.

The script doesn't show up in the Safari default browser list. If I choose it manually in that preferences dialog, it's ignored, and Safari becomes the default browser.

1 Answer 1


Have you tried adding the CFBundleURLTypes and the sub-key LSIsAppleDefaultForScheme?

        <string>Web site URL</string>

Not sure that it will help, but I have noticed these keys in the info.plist of all the apps that I have checked that show up in that browser list.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .