3
Are there any Bitcoin clients or services that support sending bitcoins to a HTTP(S) URL instead of having to enter a Bitcoin address directly? (e.g. for donations)
Webmasters could include their Bitcoin address in a link element in each page (same for the whole site or different for each page, e.g. to account which page generated which donation):
<link rel="payment" href="bitcoin:…" title="Donate bitcoins, if my article was of help to you">
The href attribute should contain the Bitcoin address, using the bitcoin URI scheme.
The rel attribute should have the value payment. It’s defined as:
RelPayment is a microformat for making exchanges of support (be it financial or otherwise) possible. By adding rel="payment" to a hyperlink a page indicates that the destination of that hyperlink provides a way to show or give support for the current page. For example to give financial support to the owner of the current page.
The (optional) title attribute could contain a small note, e.g. what the donations are used for, or who exactly would be the receiver etc.
Tools (Bitcoin clients/services, browser add-ons etc.) could extract the Bitcoin address by looking for a link with the link type payment whose URI uses the scheme bitcoin.
If one enters a webpage URL that hasn’t linked a Bitcoin address, the tool should throw an error. For security reasons probably only link elements should be parsed (instead of a/area), otherwise e.g. commentators could include their own Bitcoin addresses.
3These things should probably be implemented by browsers, not by clients. – Tom van der Woerdt – 2013-05-13T11:10:05.290
3You could create a browser extension yourself that allows you to donate to the current page (when it supports it). – Steven Roose – 2013-05-13T19:23:23.950
@e-sushi: It’s not a duplicate. A Bitcoin URI scheme is for representing a Bitcoin address as URI, while this question is about using HTTP URIs to send Bitcoin (which could make use of a Bitcoin URI specified on the HTML page). – unor – 2017-10-30T16:35:21.357
@unor Woops, my bad… didn’t notice that what you’ve asked about was looking for something going the other way around. Removed my “dupe” comment accordingly. – e-sushi – 2017-10-30T18:11:34.950
@asterisk: My reply to e-sushi’s comment above is about the same question: I don’t think it’s a duplicate. – unor – 2017-10-31T02:34:59.857