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

[whatwg] Proposal to extend registerProtocolHandler

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 6 Jul 2011 16:51:28 +1200
Message-ID: <CAOp6jLbOokwE+Zsd31qS6mzF0x9fJn7oeQYoKN=receASVwOEg@mail.gmail.com>
I don't think browsers need to prompt for registerProtocolHandler. Instead,
I would simply allow any site to register as a protocol handler for almost
anything, and remember all such registrations. When the user navigates to a
URI whose protocol has had an app newly registered for it since the last
such navigation, then prompt the user to choose which app to use. The UI for
that prompt would give prominence to the previously-seected app (if any),
followed by any newly registered app(s), and would remember the choice. The
UI could be modal or non-modal.

It seems to me that this approach would address the issues James Kozianski
raised in part 1 of his email, obviating the need for an isRegistered()
function.

Rob
-- 
"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]
Received on Tuesday, 5 July 2011 21:51:28 UTC

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