Bitcoin Forum
May 04, 2024, 04:37:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I wrote a Javascript for adding a "Donate Bitcoins" button to your website  (Read 3117 times)
biqs4zi4f (OP)
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/
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714797463
Hero Member
*
Offline Offline

Posts: 1714797463

View Profile Personal Message (Offline)

Ignore
1714797463
Reply with quote  #2

1714797463
Report to moderator
1714797463
Hero Member
*
Offline Offline

Posts: 1714797463

View Profile Personal Message (Offline)

Ignore
1714797463
Reply with quote  #2

1714797463
Report to moderator
1714797463
Hero Member
*
Offline Offline

Posts: 1714797463

View Profile Personal Message (Offline)

Ignore
1714797463
Reply with quote  #2

1714797463
Report to moderator
biqs4zi4f (OP)
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: 386
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 (OP)
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:  

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