quite off-topic but:
http://www.apple.com/applescript/safari/bookmarks.html
Safari's robust JavaScript support and Mac OS X's built-in URL architecture enable direct communication between Safari and other applications via special bookmarks. Using these special bookmarks you can select text on a webpage and use it to search the iTunes Music Store or a Sherlock web-service. The following examples can be copied and added to your Safari bookmark collection.
sherlock://com.apple.flights?new_window&toolbar=hidden
itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/ advancedSearchResults?songTerm=Bohemian
I am amazed by these sherlock:// and itms:// URLs.
Does anyone know how this works, if everyone can register "protocols" for their own apps (or if it is closed to Apple's) and where I can find some documentation about this architecture?
Are other applications also using this?
Thanks,
Thilo