Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are many [information]: links. For example, mailto:.

I want to "teach" chrome how to interpret a bitcoin: address, by having it open up blockchain.info/address/[stuff after bitcoin:]

How should I do this?

share|improve this question
up vote 2 down vote accepted

I had a similar question, and it seems to be the case that such links have to be registered system wide.

Here is an example for what you want according to Microsoft's documentation:

  • In HKEY_CLASSES_ROOT create a new key called bitcoin (or anything?).
  • Modify the (Default) string to say URL:bitcoin.
  • Make an empty string named URL Protocol.
  • Make a new key in bitcoin called DefaultIcon. Modify (default) to point at Chrome's path. (I think this is optional. I also think you can point this at any program whose icon you want. I believe the ,1 in the docs means use the first icon available.)
  • Make a new key in bitcoin called shell, and in shell a new key named command.
  • Modify the (Default) string in command to point at Chrome's path with whatever flags neccessary to launch a URL. The "stuff after bitcoin:" will be in the variable %1. For example:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe http://blockchain.info/address/" "%1"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .