Bitcoin Forum
May 07, 2024, 01:47:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin:address links?  (Read 813 times)
Kazu (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
April 02, 2013, 06:21:01 PM
 #1

Is there any way of designing a web wallet such that it can get registered with the browser to open bitcoin: links, through javascript or the like?

Also I have noticed the following problem: When entering something like mailto:me@bitcointalk.org directly into my chrome URL bar, it will open my mail app directly (in my case, windows mail). However, if I enter in bitcoin:139FySgAEA4pxNMsVivdvpXM7SRDrw3qmv directly into my URL bar, this won't happen. It only will open my bitcoin address when I click a <a href="bitcoin:139FySgAEA4pxNMsVivdvpXM7SRDrw3qmv"> link. Note this isn't true for IE.

CoinLenders - Bitcoin Bank Script / Demo
1v.io/kazu - 15ccW7m6RxDFWEKc3P1NdwWpX1N1pU7gZ8
1715089671
Hero Member
*
Offline Offline

Posts: 1715089671

View Profile Personal Message (Offline)

Ignore
1715089671
Reply with quote  #2

1715089671
Report to moderator
1715089671
Hero Member
*
Offline Offline

Posts: 1715089671

View Profile Personal Message (Offline)

Ignore
1715089671
Reply with quote  #2

1715089671
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715089671
Hero Member
*
Offline Offline

Posts: 1715089671

View Profile Personal Message (Offline)

Ignore
1715089671
Reply with quote  #2

1715089671
Report to moderator
paradigm
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 02, 2013, 06:27:25 PM
 #2

Not to threadjack but on Firefox Linux with Multibit I notice that the bitcoin: links do not work for me and upon clicking I get a message stating it's an invalid protocol. 

It would be nice for it to be done in a way where it "just works".
Kazu (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
April 02, 2013, 06:36:26 PM
 #3

Exactly. One of the biggest barriers to entry in BTC right now is things not "just working."

In any case, I found this:

Quote
navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","Gmail");
Here: http://updates.html5rocks.com/2012/02/Getting-Gmail-to-handle-all-mailto-links-with-registerProtocolHandler

Which could probably be changed to this:
Quote
navigator.registerProtocolHandler("bitcoin", "https://awallet/stuff")
However I have had the following problems when making this an onclick event on a button:
1) It doesn't seem to do anything.
2) I don't know how to pass the variables designated in the link (address, amount, label, etc...)
3) Will this only work in chrome?

Any help?

CoinLenders - Bitcoin Bank Script / Demo
1v.io/kazu - 15ccW7m6RxDFWEKc3P1NdwWpX1N1pU7gZ8
Kazu (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
April 02, 2013, 08:42:20 PM
Last edit: April 02, 2013, 08:56:33 PM by Kazu
 #4

Just noticed, when I try executing that command I get the error:

Error: An attempt was made to break through the security policy of the user agent.

From my browser. Whats going on here?

CoinLenders - Bitcoin Bank Script / Demo
1v.io/kazu - 15ccW7m6RxDFWEKc3P1NdwWpX1N1pU7gZ8
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!