Re: [whatwg] Proposal: navigator.launchURL

On Mon, Jul 14, 2014 at 10:42 AM, Ian Hickson <> wrote:
> On Sun, 13 Jul 2014, Adam Barth wrote:
>> == Use Case ==
>> A web site wants to launch an external protocol handler.  For example,
>> a web site might want to launch PuTTY via the "ssh" scheme.
> I'll look at this in more detail in due course, but FWIW this appears to
> be more or less identical to a proposal from Microsoft about 18 months
> ago:
> It's still not really clear what difference this API would have to
>, though.

The difference is that opens a new browser window even if
the URL is handled by an external protocol handler.  Even if we
changing current browsers to detect whether the URL will be handled by
an external protocol handler before opening the window, web sites
won't be able to feature-detect which browsers have this new behavior
and therefore won't be able to move away from iframe@src hacks until
all the browsers they care about have the behavior change.  By
contrast, sites can feature detect navigator.launchURL and fall back
to iframe@src in UAs that lack the new API.


Received on Monday, 14 July 2014 19:25:48 UTC