Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.