Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
Yes, it looks like that was the main thing I was missing. I found this article which specifically addresses the issue: – Dogweather Dec 10 '11 at 3:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.