|
Friday, June 17, 2005
|
|
|
Finally...
figured out how to modify Radio.root so Safari (in Mac OS X 10.3.9) is the default web browser.It even opens up safari if it isn't running already. (Too bad it doesn't do WYSIWYG editing.
What did I do?
- Make a backup copy of Radio.root (I didn't but I should have - oops)
- Added a system.verbs.apps.Safari to Radio.root (Basically a subset/copy of the msExplorer one with all MSIE and msExplorer.id references changed to Safari.id or 'sfri' - All I have is appInfo, id, bringToFront, openUrl, openDocument, and quit.
- change system.verbs.apps.Safari.openURL so it matches the return in system.verbs.builtins.webBrowser.openUrl for MacOS in the os test.
- In system.verbs.builtins.webBrowser.supportedBrowser I added 'sfri' as a supported browser AND changed:
if system.environment.isCarbon
To:
if defined (system.environment.isCarbon) and system.environment.isCarbon
(This is a copy of a change made by Userland in webBrowser.getDefaultBrowser to support Mozilla/Firefox.)
- In webBrowser.getDefaultBrowser I changed the default browser to Safari.id and 'sfri'
(Used to be msExplorer.id and 'MSIE'
- I added an 'sfri' and Safari to system.verbs.builtins.webBrowser.launch under the case sys.os - MacOS - just copies of the IE ones -renamed.
I think that's it... not sure it's enough info for anyone to do it...
10:41:52 PM
|
|
|
|
© Copyright
2009
Andy Stoffel.
Last update:
7/19/09; 10:17:38 PM.
This theme is based on the SoundWaves
(blue) Manila theme. |
|
|