W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] navigation shouldn't abort if canceled

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 2 Feb 2011 13:12:59 -0800
Message-ID: <20110202211259.GA3900@pickering.dbaron.org>
On Wednesday 2011-02-02 20:41 +0000, Ashley Sheridan wrote:
> For the links to open a new web page that would actually be
> handled by an external app. I remember a few years back when
> Yahoo! Messenger came with such an app that set itself up as your
> default mail program and opened a new window. It would be obvious
> it was a separate app if you clicked on the mailto link on a
> secondary browser that wasn't the system default.
> 
> I don't know if webmail clients handle things differently. Does
> this behaviour ever happen without the help of an external app or
> a plugin?

Webmail clients can register themselves with the browser using
registerProtocolHandler:
http://whatwg.org/specs/web-apps/current-work/#custom-handlers
https://developer.mozilla.org/En/DOM/Window.navigator.registerProtocolHandler
Firefox also ships with some common Webmail clients pre-configured
in preferences -> Applications -> mailto so they don't even need to
bother registering themselves.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Wednesday, 2 February 2011 13:12:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC