Bitcoin URL scheme whitelisted in HTML5
html5.org
html5.org
See http://www.whatwg.org/specs/web-apps/current-work/#whitelist...
HTML5 started off well, but is beginning to morph into a cargo cult of 'cool': the return of mystery navigation, "swipe to navigate", many others.
"The purpose of this URI scheme is to enable users to easily make payments by simply clicking links on webpages or scanning QR Codes."
pay:?currency=btc&address=1BlaH&amount=1.0Do you suggest that we should have the same scheme for HTTP and HTTPS because in the end both return you a resource ?
Same for ssh: and telnet:, same for xmpp:, msnim:, facetime:, irc:, skype:, etc ?
Are we now going to have evernote, dropbox, flickr etc ?
Um, it is.
Why not?
So all the HTML5 spec contributors whose names start with the letters "mike" are called Mike.
WhatWG HTML is the living standard, and the HTML5 (W3C) spec. is like a snapshot.
Read this if you need more clarifications:
http://lists.w3.org/Archives/Public/public-whatwg-archive/20...
I mean what about alternatives like litecoin?
Litecoin will get whitelisted if it ever becomes important or useful.
For very small values of 'some'.
Can you give a couple of (practical!) examples where gopher has not been replaced by http?
Chrome, explorer, opera and safari do not support gopher, and from 4.0 firefox did not support it either (though there is a plug-in).
The "web+something" namespace is what we should be using for our custom scheme handlers, but there are a bunch of other web-related schemes that will be fine to use too... "bitcoin" is one of the OK ones.
It's not a big deal as far as I can see... basically any scheme that is popular enough or documented enough and isn't supposed to launch some external application could probably get white-listed if you asked nicely.
HTML already lets arbitrary applications register themselves as protocol handlers at the OS level, so for instance spotify:// links get handled by the correct binary.
All this does is let a website register itself as the handler of a particular protocol. This has obvious uses for instance letting mailto: be handled by Google Mail if the user wants it to be.
I'm not sure why HTML5 has to have a whitelist of protocols that allow websites to register as handlers - it seems like an overhead.
$ svn log -q | egrep "^r\d+" | cut -d "|" -f 2 | sort | uniq -c
7850 ianhSame as with MIME types: application/vnd.org.example.foobar for anyone, application/foobar when you're famous.