Bitcoin Forum
May 04, 2024, 11:03:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can someone design a bitcoin address popup box?  (Read 1049 times)
osmosis (OP)
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250



View Profile
July 09, 2011, 06:30:20 AM
 #1


Im thinking something about the size of the google +1 button, or the facebook Like button. But when you click it, it would pop up a small window with an easily copyable bitcoin address. The image itself could be a golden bitcoin or such.  I was imaging people using something creative like this instead of just having the long random strings pasted everywhere on the net.

Please let me know if you think this is a good idea, how it could be implemented, and if you are interested in creating it. 
If you think its a good idea and want to see it happen, consider putting in btc bounty for it. 
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714820622
Hero Member
*
Offline Offline

Posts: 1714820622

View Profile Personal Message (Offline)

Ignore
1714820622
Reply with quote  #2

1714820622
Report to moderator
1714820622
Hero Member
*
Offline Offline

Posts: 1714820622

View Profile Personal Message (Offline)

Ignore
1714820622
Reply with quote  #2

1714820622
Report to moderator
1714820622
Hero Member
*
Offline Offline

Posts: 1714820622

View Profile Personal Message (Offline)

Ignore
1714820622
Reply with quote  #2

1714820622
Report to moderator
marcusaurelius
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile
July 09, 2011, 08:30:32 AM
 #2

Code:
<a href="#bitcoin" onclick="window.prompt ('Copy to clipboard: Ctrl+C, Enter', '1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr');">
<img src="data:image/gif;base64,R0lGODlhDQANAMZ4AIRjEYloGIttJoxuJJF2M5yCRKKGQaOJSayJM7CWWLeXPbmYSsiiRcWlRLyt
h72uh8WuddSzY9WzY820dc22etG3b9G4c963Wtq4Y9y5XNi6ZNm5bta7bN+6Xd+7Yd28YtK9heC9
XuW+W8u/odi/e+K/ZeW/YNjAgtvBcuTAZObAZOa/cefBYOXCYefBaNrEduTCcePEatnFhubEaufE
aOTGZuXEd+fEc+nEdOnHaOfHcObHdOjIZenIbOnIbenJbuzJbOrJc+nKfe3La+zKeO7Mb+rMge3O
bO/Ocu3Pc93Pq/HPdezPhfDQc/TPgenUd/DTdN/SsfDVbfDUevPTifTVdPbTifLVgfTWh+DXwPTY
f/PXj/nXf/fZdPjYffbZfffaefrZe/rcfPncg+bcw+Xcxvrfivbgjvzfi/rhgvrhhfngmPvgl/rh
kf3ijPnkjvzjk/zjlfvlk/vllf3og/3mnfzqjP7sj////////////////////////////////yH5
BAEKAH8ALAAAAQAMAAwAAAeGgH+CSiQaHCBZgooVXmJganc1CYoWaEAiLCYqVUcHf1FnRC4pIR0e
F10NIzJzKzhBPz0zJTxSBS9vTlZYV1NJPjR0AShaN1RscWZfTUV2ACdhGEJrdXBjSFBPBGQtHxFG
W0w7MWkKDn8TQzowNhsSSxkCihQ5bnJtXAwDioJlEAsIDDxQFAgAOw==" alt="Click for my Bitcoin Adress" />

here you go.

change the string in the second line to your btc-adress and there you go. the string in there is mine, so you can send your bounty to that adress. :-)

there is a shorter way, namely the following:

Code:
<a href="#bitcoin" onclick="window.prompt ('Copy to clipboard: Ctrl+C, Enter', '1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr');">
<img src="http://forum.bitcoin.org/smf/Themes/custom1/images/star.gif" alt="Click for my Bitcoin Adress" />

but this polls the bitcoin forum for the image everytime. so if you use it consider hosting the graphic on your own server. the first code example i gave has the image embedded in base64.


osmosis (OP)
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250



View Profile
July 09, 2011, 08:21:30 PM
Last edit: July 09, 2011, 10:19:03 PM by osmosis
 #3

marcusaurelius -
Very good start. Thx much.

Id like to see the popup happen within the browser window, using CSS if thats how its done, instead of as as a separate javascript popup.

Found these, more of what I had in mind.

I want something like this, http://trentrichardson.com/Impromptu/index.php ,  but having the dialog pop up close to the clicked button, and without the background page fading to grey. Also, a Copy button that copies the displayed text string into the users clipboard (if that is actually possible.)
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!