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

[whatwg] Proposal to extend registerProtocolHandler

From: Peter Kasting <pkasting@google.com>
Date: Mon, 4 Jul 2011 15:41:13 -0700
Message-ID: <CAAHOzFCzu+Y7HmKiTVJW=qgTdfn3s-J16Owfsom5d7EkUxPiCw@mail.gmail.com>
In general, I echo Michael's comment that we follow the notifications model.

On Sun, Jul 3, 2011 at 1:01 PM, Nils Dagsson Moskopp <
nils at dieweltistgarnichtso.net> wrote:

> > Right now sites are actually much _more_ annoying without this
> > feature as they just blindly ask you to make them your protocol
> > handler every time.
>
> Can UAs not be expected to handle this properly, like they do with
> repeated alerts?


It's not a problem on the UA side, but the web page side.  Assume we want to
limit action on this call to cases where there's a user gesture (to prevent
bad sites from annoying you quite as easily, though I admit it is not a huge
roadblock).  Now you're Gmail and you want to give the user the ability to
register you as a mailto: handler.  So you whip up some button that will
make the rPH() call and some UI around it that calls attention to it.
 Without the ability to check if you're already the default handler, you
have to show this UI all the time, which is not at all appealing, or else
bury it somewhere, which means it will never get seen by most users.

PK
Received on Monday, 4 July 2011 15:41:13 UTC

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