Bitcoin Forum
October 17, 2018, 04:28:22 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: I wrote a Javascript for adding a "Donate Bitcoins" button to your website  (Read 3043 times)
biqs4zi4f
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
February 22, 2012, 08:33:16 PM
 #1

... and an article on how to get it:
http://leo.bogert.de/2012/02/22/simple-bitcoin-donate-button/
1539750502
Hero Member
*
Offline Offline

Posts: 1539750502

View Profile Personal Message (Offline)

Ignore
1539750502
Reply with quote  #2

1539750502
Report to moderator
1539750502
Hero Member
*
Offline Offline

Posts: 1539750502

View Profile Personal Message (Offline)

Ignore
1539750502
Reply with quote  #2

1539750502
Report to moderator
1539750502
Hero Member
*
Offline Offline

Posts: 1539750502

View Profile Personal Message (Offline)

Ignore
1539750502
Reply with quote  #2

1539750502
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
biqs4zi4f
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
February 22, 2012, 10:07:17 PM
 #2

Updated to be more user friendly - Explains how to copy-paste now Grin
Also, I've added an explanation of why it is implemented as manual instead of automatic copy (browser issues).
ForceField
aka Vitaliy
Sr. Member
****
Offline Offline

Activity: 388
Merit: 250



View Profile
February 23, 2012, 12:41:45 AM
 #3

Nice work and simple code.

Any way to have this work in conjunction with the native Bitcoin client automatically?

PC Hardware & Electronics For BTC     Traded w/: Kansattica | jduck1987 | shakaru | newdude | nitetrader | midievil | blo8i | mb300sd | juggalodarkclow | Garr255 | Tril | Ringmasta | SysRun | CrazyBlane | sokay | BCB | str4wm4n | PinkBatman | Bitobsessed | matauc12 | antimattercrusader | BryanK
biqs4zi4f
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
February 23, 2012, 02:21:43 AM
 #4

Any way to have this work in conjunction with the native Bitcoin client automatically?
Someone pointed out that there is a proposal for Bitcoin URIs:
https://en.bitcoin.it/wiki/BIP_0021

However I don't know whether it is possible to check w/ Javascript whether the browser can eat bitcoin URIs.
If that was possible then my mechanism could be implemented as fallback.
If it is not possible then bitcoin URIs should not be used until the Bitcoin client version which supports them has been out for some time.
I'll put finding that out on my TODO list.

Also, what I would like to know: Is BIP21 implemented in the current standard Bitcoin client for Windows?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!