Bitcoin Forum
April 26, 2024, 11:40:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Tool extension for Firefox and Chrome  (Read 3396 times)
unemployed (OP)
Member
**
Offline Offline

Activity: 336
Merit: 10



View Profile WWW
June 08, 2011, 01:19:22 PM
Last edit: June 15, 2011, 09:23:23 AM by unemployed
 #1

I developed a simple Bitcoin Tool extension, that recognizes Bitcoin addresses on every website, and does some useful things with them:
* Links addresses to blockexplorer.com, something for curious people, who want to examine quickly BTC sent, received, and the number of transactions
* Adds a select button, that helps when you want to copy-paste the address, making sure no letter is omitted
* Adds a Falkvinge button, that does not work, but why? Security reasons, Mr Falkvinge.

Here is how it looks:


And here is how to install it.

If you have Firefox:
1. Install Greasemonkey https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
2. Install Bitcoin Tool http://userscripts.org/scripts/show/104381

If you have Chrome, Greasemonkey scripts are built-in, so you need only to
1. Install Bitcoin Tool http://userscripts.org/scripts/show/104381

Tell me how do you like the tool.


Update (15.06.2011):
Now the "Send BTC" button works - needs bitcoind and a new tool bitcoin_httpd. See below.

Dialog from bitcoin_httpd (download the Linux version from here, or source from here):




╭═══════ Petlife ═══════╮
   Blockchain in veterinary medicine    │
╰════ https://icopet.life/ ════╯
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
June 08, 2011, 05:48:01 PM
 #2

Seems to work well enough... Thanks!

enmaku
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
June 08, 2011, 05:53:35 PM
 #3

Has anyone made any progress whatsoever on catching specialty URIs with the client exe? (like btc://1AsxQdfdtMLHyagm7YZ9Q3KV6FygaqxKk2 would launch the send dialog for that address for example)

I know there were discussions a while back about this but I never heard how they checked out.

Also, awesome addon, I hope that Falkvinge button starts working soon-ish  Smiley
unemployed (OP)
Member
**
Offline Offline

Activity: 336
Merit: 10



View Profile WWW
June 08, 2011, 08:45:54 PM
 #4

Thank you guys for positive feedback, and for the donation.

Rickard Falkvinge approves the tool. It's official.


╭═══════ Petlife ═══════╮
   Blockchain in veterinary medicine    │
╰════ https://icopet.life/ ════╯
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
June 09, 2011, 04:21:48 AM
 #5

I've got a bug for ya... See if you can have it not apply the code within a textbox or input tag.

unemployed (OP)
Member
**
Offline Offline

Activity: 336
Merit: 10



View Profile WWW
June 09, 2011, 09:21:23 AM
 #6

Fixed. The code is not applied inside input, textarea, code and pre tags.

╭═══════ Petlife ═══════╮
   Blockchain in veterinary medicine    │
╰════ https://icopet.life/ ════╯
tiptopgemdotcom
Legendary
*
Offline Offline

Activity: 1736
Merit: 1000


Truly decentralized stable asset


View Profile
June 09, 2011, 11:53:14 AM
 #7

This is a great tool.  Thanx!!!!   Grin

        ▄▄▀▀▀▀▀▀▀▀▀▄▄
     ▀▀ ▄▄▀▀▀▀▀▀▀▄▄ ▀▀▄
  ▄  ▄▀▀           ▀▀  ▀▄
 ▄▀ █      ▐█ █▌      █ ▀▄
▄█ █     ▄███████▄     █ █▄
█ ▄▀    ██▀▐█ █▌▀██     █ █
█ █     ██ ▐█ █▌ ██     █ █
█ ▀▄    ██▄▐█ █▌███    ▄▀ █
▀█ █     ▀████████▄    █ █▀
 ▀▄ ▀      ▐█ █▌ ▀█▌  █ ▄▀
  ▀▄  ▀▄           ▄▄▀  ▀
    ▀▄▄ ▀▀▄▄▄▄▄▄▄▀▀ ▄▄
       ▀▀▄▄▄▄▄▄▄▄▄▀▀
      █▀▀▀▀▀▀▀▀▀▀▀▀█
▄▄▄▀▀▀█   ▄▄▄▄▄▄   █
█     █ ▄▀      ▀▄ █
 █  ▄██ █        █ █
 █  █ █ █        ▀ █
  █ █ █ █ ▄█▄█▄  ▀ █
  █  ██ █  █▄▄█▄ █ █
   █ ██ ▄ ▄█▄▄▄█ █ █
   █  █ ▄  ▀ ▀   █ █
    █ █ █        █ █
    █ █ ▀▄      ▄▀ █
     ██   ▀▀▀▀▀▀   █
      █▄▄▄▄▄▄▄▄▄▄▄▄█
.PLATINUM  STABLECOINS
..USDQ KRWQ CNYQ JPYQ...

─────────────────────────
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
█              █
█              █
█              █
█              █
█              █
█              █
█              █
█              █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█     ████     █
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
██████
██
██







██
██
██████
██████
██
██







██
██
██████
▬▬▬▬▬▬▬▬   WHITEPAPER   ▬▬▬▬▬▬▬▬
...FACEBOOK... .....TWITTER..... ...TELEGRAM...
▬▬▬▬▬▬▬▬   ANN THREAD   ▬▬▬▬▬▬▬▬
unemployed (OP)
Member
**
Offline Offline

Activity: 336
Merit: 10



View Profile WWW
June 14, 2011, 11:44:08 PM
 #8

Update. The "Send BTC" button now works.
It needs two applications running on your computer: bitcoind from the standard bitcoin client package, and a new program bitcoin_httpd which is an HTTP mini-server that displays a simple website and passes requests to bitcoind.
Download the Linux version of bitcoin_httpd from here (md5 sum: 18fea1ef3eb16260b59bdb383c3a8812).
The source code is here if you need it. It would be useful to compile it on Windows and Mac.


How to make "Send BTC" work.

1. Install the newest version of Bitcoin Tool extension
(for Firefox the Greasemonkey extension is needed, for Chrome support for Greasemonkey scripts is built-in).

2. Set rpcuser and rpcpassword in your bitcoin.conf file. Launch bitcoind.

3. Download and launch bitcoin_httpd.

╭═══════ Petlife ═══════╮
   Blockchain in veterinary medicine    │
╰════ https://icopet.life/ ════╯
unemployed (OP)
Member
**
Offline Offline

Activity: 336
Merit: 10



View Profile WWW
June 14, 2011, 11:51:14 PM
Last edit: June 15, 2011, 08:57:36 AM by unemployed
 #9

Now let's show some example use of "Send BTC" button in connection with bitcoind and bitcoin_httpd.

Let's buy the latest Bitcoin Sun



The link "download pdf" leads to BitcoinService, where the pdf file can be bought for 0.02 BTC.
Bitcoin Tool changes the displayed plain text bitcoin address into a link and two buttons.



Clicking the Send BTC button opens in a new tab a local website served by bitcoin_httpd:



I fill the the form with the price 0.02, and with the proper RPC username and password from my bitcoin.conf file, and click "Send bitcoins".
In my version 0.3.21 of bitcoind the fee of 0.01 BTC is applied, which sucks a bit for microtransactions like this one.

Response after clicking "Send bitcoins" shows that the transaction went all right.



I close the tab with the response, refresh the bitcoinservice website and finally I can enjoy the downloaded Bitcoin Sun pdf.



╭═══════ Petlife ═══════╮
   Blockchain in veterinary medicine    │
╰════ https://icopet.life/ ════╯
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!