Re: [whatwg] Proposal to extend registerProtocolHandler

2011-08-09 Thread James Kozianski
On Tue, Aug 2, 2011 at 5:53 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 26 Jul 2011, James Kozianski wrote: Here are the use cases I had in mind: 1. Allow sites to conditionally show UI to promote the advantages of registering the site as a handler. (requires isRegistered) 2

Re: [whatwg] Proposal to extend registerProtocolHandler

2011-07-25 Thread James Kozianski
sites that have been 'ignored' by a user won't be able to tell if they should show their promotional UI or not. Cheers, James On Sat, Jul 23, 2011 at 8:33 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 21 Apr 2011, James Kozianski wrote: I'd like to propose the following changes

[whatwg] Proposal to extend registerProtocolHandler

2011-04-21 Thread James Kozianski
Hi, I'd like to propose the following changes to the registerProtocolHandler spec. 1. Introduce an isRegistered() function. Currently if a site wants its users to register it as a handler for a given protocol it has two options: a) It can call registerProtocolHandler() on page load. (This