Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Applications in Safari and other browsers

 
   Macintosh computer (Home) -> General Discussion RSS
Next:  Marking message for retention using Hogwasher  
Author Message
Robert Peirce1

External


Since: Dec 10, 2003
Posts: 1609



(Msg. 1) Posted: Wed Feb 06, 2008 5:07 pm
Post subject: Applications in Safari and other browsers
Archived from groups: comp>sys>mac>apps (more info?)

I just added Bwana.app. If I type "man:" into the URL line in Safari or
Firefox, both know that they have to open Bwana to process the request.
How do they know that?

When I installed Bwana.app, I just dragged it to where I wanted it, and
that wasn't Applications. I didn't start it or do anything special, but
when I entered the request, Safari knew what program to run and how to
find it.

Seems like magic to me, but it I am sure it is just clever programming.

--
Robert B. Peirce, Venetia, PA 724-941-6883
bob AT peirce-family.com [Mac]
rbp AT cooksonpeirce.com [Office]

 >> Stay informed about: Applications in Safari and other browsers 
Back to top
Login to vote
Lewis

External


Since: Jan 19, 2008
Posts: 302



(Msg. 2) Posted: Wed Feb 06, 2008 5:46 pm
Post subject: Re: Applications in Safari and other browsers [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: Applications in Safari and other browsers 
Back to top
Login to vote
Sander Tekelenburg

External


Since: Nov 07, 2003
Posts: 648



(Msg. 3) Posted: Thu Feb 07, 2008 1:22 am
Post subject: Re: Applications in Safari and other browsers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
Robert Peirce wrote:

> I just added Bwana.app. If I type "man:" into the URL line in Safari or
> Firefox, both know that they have to open Bwana to process the request.
> How do they know that?

Launch Services: <http://developer.apple.com/technotes/tn/tn2017.html>.

Basically Mac OS X allows applications to 'tell the OS' that they can
handle a certain protocol. The moment you have the Finder show the
application, this info is registered by the OS (so even before the app
is launched, which played a role in this security issue a while ago:
<http://www.euronet.nl/~tekelenb/playground/security/URLschemes/>).

If the app is the only one (on that particular mac) claiming to handle
that protocol, it is registered as the default protocol helper. If there
are already other apps registered for that protocol, I'm not sure
exactly what logic is applied.

> When I installed Bwana.app, I just dragged it to where I wanted it, and
> that wasn't Applications. I didn't start it or do anything special, but
> when I entered the request, Safari knew what program to run and how to
> find it.

Actually, Safari/Firefox don't know what to do with that bwana: URL, so
they simply hand the URL on to the OS, which knows that Bwana claims to
be able to handle that, so passed it on to Bwana.

Nothing to do with Bwana or Safari or Firefox. Just Mac OS X.

> Seems like magic to me, but it I am sure it is just clever programming.

Yep Smile

--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"
 >> Stay informed about: Applications in Safari and other browsers 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Safari doesn't do nested lists ... all other browsers do - Safara beta, 1.0, 1.1 and 1.2 have all failed to render what seems to be a fairly simple structure -- nested menu or other list tags. All versions of IE from IE 1, all versions of Netscape, all versions of Opera, Phoenix, Firebird, Firefox, Mozilla, etc....

Safari slowness as compared to other browsers - I don't know if it's just the web URLs that I'm going to but I'm finding that other browsers such as Firefox and Camino seem to render web pages many times quicker than Safari. Is that a fair observation or do I have something "funny" going on...

"Official" Apple Applications - All - A strange request: I'm running Tiger 10.4.11 on a 466 MHz PowerPC G4 with 1 GB RAM. In the past, I have put applications pretty much wherever I wanted, but I would like to become more disciplined since I fear that some Apple updates are failing....

Q about Making Subfolders in the Applications Folder - Hi. I have a question about organizing applications in the Applications folder. I am currently using a G4 Cube running OS X 10.4.11 and I just bought a new 24" IMac which I should be receiving in about a week. Anyway, my question is this: Is i...

utility to list key usage by applications? - I would like to create, and remap, some keyboard shortcuts on X.4.10. To make sure I don't inadvertently interfer with existing ones, is there a utility to list the key combinations already in use by an ap- plication, so I can either avoid it, or remap..
   Macintosh computer (Home) -> General Discussion All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]