Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Retaining OmniWeb as the default browser Web Browsers
OS X lets you specify any browser you'd like to use as your default (the browser that's used when you click on a URL) in the Internet system prefs panel. I prefer OmniWeb, and have told OS X so on several occasions. Unfortunately, for many people (myself included), this setting is lost between restarts.

A workaround was snipped from Resexcellence and sent to me, but I can't find the original on Resexcellence, so I can't provide a direct reference. However, if you'd like to make it at least a bit easier to get OmniWeb back as the default, read the rest of this article for the how-to.

Here are the steps to put OmniWeb in a pop-up window with IE on the Internet prefs panel. As with all things related to editing parts of the system, MAKE A BACKUP first, and make sure you understand the steps before proceeding! With that disclaimer, here's how to do it.
  1. Open a terminal, and navigate to the following directory (shown on two lines to conserve space; it's one path, though!):
    /System/Library/Preferences/Internet.preference
      /Contents/Resources/English.lproj/
  2. Edit the file DefaultHelperApps.plist as root (sudo vi DefaultHelperApps.plist)

  3. Replace this section of code
    web = (
    {
    DisplayName = "Internet Explorer";
    Info = { BundleIdentifier = "com.microsoft.explorer"; };
    IsDefaultHandler = YES;
    }
    );
    with this section of code:
    web = (
    {
    DisplayName = "Internet Explorer";
    Info = { BundleIdentifier = "com.microsoft.explorer"; };
    },
    {
    DisplayName = "OmniWeb";
    Info = { BundleIdentifier = "com.omnigroup.OmniWeb"; };
    IsDefaultHandler = YES;
    }
    );
This may (or may not) prevent IE from becoming the default again, but it should at least give you a pop-up from which to re-select OmniWeb.
    •    
  • Currently 1.50 / 5
  You rated: 1 / 5 (8 votes cast)
 
[8,322 views]  

Retaining OmniWeb as the default browser | 9 comments | Create New Account
Click here to return to the 'Retaining OmniWeb as the default browser' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Path is wrong
Authored by: Embro on Feb 20, '02 11:01:51PM
Should be

/System/Library/PreferencePanes/Internet.prefPane/Contents/Resources/English.lproj/




[ Reply to This | # ]
can I use this to get rid of IE???
Authored by: rgray on Feb 22, '02 03:29:57PM

Looking at the code here it seems this is a fine way to get IE out of the game altogether???

Just define Omni as the only default browser........



[ Reply to This | # ]
Hiding Explorer
Authored by: dennisbest on Feb 25, '02 11:43:17PM

I use OmniWeb for all of my browsing but still need to use Explorer to test pages, etc. Unfortunately, Explorer keeps claiming ownership of jpgs, gifs, etc. and from time to time when I click on a link in another app Explorer seems to inexplicably re-emerge as my browser of choice.

So I just used Disk Copy to make a 20 meg disk image, copied Explorer to it, and trashed the original Explorer app. I even pasted the e icon on the image and named it Internet Explorer and dropped it into my applications folder.

Now, if I need Explorer I can just double click it and run it from the mounted image. When it disk is not mounted, there is no risk of Explorer sneaking back in as a default for any file type or accidentally launching.



[ Reply to This | # ]
IsDefaultHandler
Authored by: Zinzinix on Feb 26, '02 11:34:11AM

the flag "IsDefaultHandler = YES" may appear once only, that one browser be the default.
It could only appear once or more for each part (mail, news et.)



[ Reply to This | # ]
Setting Mozilla as default
Authored by: shreddiez on Feb 27, '02 07:41:35AM

The previously noted tip of using...
Info = { BundleIdentifier = com.mozilla.mozilla"; };
does add Mozilla to the menu, but IE is still the defualt even when you select Mozilla in the prefs :( I managed to make it work using the following...

web = (
{
DisplayName = "Mozilla";
Info = { CreatorCode = "MOZZ"; };
IsDefaultHandler = YES;
}
);



[ Reply to This | # ]
Setting Mozilla as default
Authored by: kimon on Feb 28, '02 01:00:30AM
the reason this doesn't work is actually because Info = { BundleIdentifier = com.mozilla.mozilla"; }; is incorrect.

if you take at a recent mozilla milestone, you will see that the plist has a name of org.mozilla.Mozilla. That correctly set my default broswer to Mozilla

Kimon

[ Reply to This | # ]
how to specify MT-Newswatcher as default
Authored by: ficino on Feb 27, '02 11:35:18PM

How can we modify this file to specify MT-Newswatcher as the default. It's a folder (so no creator code), and its prefs aren't in the com.newswatcher.x format ...



[ Reply to This | # ]
an improvement?
Authored by: ficino on Feb 28, '02 11:37:31PM

Having made the change, it seems to me that my system reverts more often to IE as the default browser than before. Any ideas as to why?



[ Reply to This | # ]
Retaining OmniWeb as the default browser
Authored by: jasonharrison on Aug 14, '05 11:16:20AM

I suggest using the preference pane "MoreInternet" (freeware via VersionTracker) to set your HTTP, HTTPS, etc protocol handling application rather than modifying the system library files. For one thing it is a drag and drop operation to use MoreInternet, for another you don't need to dig up BundleIdentifiers or Creator Codes.

I just wasted 30 minutes trying to figure out how to switch from Mozilla to Firefox (Apple Help, Mozilla Help, Firefox Help, Mac OS X, google, etc) and 30 seconds performing the switch with MoreInternet.



[ Reply to This | # ]