[webkit-help] A question about add custom protocol

Ivan Chen ivanchenhz at gmail.com
Tue Mar 8 18:43:41 PST 2011


I am curious about how the "mailto:ivanchenhz at gmail.com" thing works, how does browser know how to handle the mailto:XXX thing.
I check the code in webcore/platform/kurl.cpp, found there is some logic used to parse the protocols like, maileto, file, http and so on.

Can anyone give some material about how the whole thing be done. From user input "mailto:XXX" to the Mail application has been launched.
And one more thing, is there any guide to add customized protocol like  input "ivanc:XXX" , then I can do something I want :)

Ivan Chen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110309/85225dad/attachment.html>

More information about the webkit-help mailing list