Author

Topic: Anybody Doing A Firefox Wallet Plugin? (Read 12487 times)

sr. member
Activity: 429
Merit: 1002
May 07, 2010, 05:55:50 AM
#4
Quote
A Firefox plugin would be a great product if it worked without the Bitcoin server serving the JSON requests in the background.
Without the Bitcoin server I would think it might require ESP or some other magic. Perhaps the Borg 'hive mind'. Tongue

I mean, if the plugin worked without a separately installed Bitcoin program.

Mozilla add-ons are extensions xor plugins. Extensions have a GUI and can do stuff with javascript. A Bitcoin extension would communicate with a separate Bitcoin server through JSON requests. Plugins are coded with C++ and could perhaps run a server, but I think they're intended for showing different content types (PDF, flash, etc.) and not very well suited for other things.

It would be cool if you could make transactions with direct JSON requests to other nodes of the network. That way you could code a lightweight standalone Firefox extension for Bitcoin - the lighter variant of a Bitcoin client that doesn't download the block chain. Maybe all inter-node communication could be JSON? Tongue
full member
Activity: 185
Merit: 121
April 29, 2010, 08:27:35 PM
#3
Quote
A Firefox plugin would be a great product if it worked without the Bitcoin server serving the JSON requests in the background.

Without the Bitcoin server I would think it might require ESP or some other magic. Perhaps the Borg 'hive mind'. Tongue

Quote
That would require some way to make it communicate with the Bitcoin network, but I don't know if Firefox plugins can do that.

That's what I thought the JSON features were for. We already have the server and network capabilities. Firefox plugins can do just about anything as I'm only just discovering. It would seem to me (correct me if I am wrong anybody), that it's only a matter of integrating data (from the existing JSON interface) with their custom APIs and packaging the code for the installer. All the 'plugin' (actually the UI code is an 'extension' in the proper vernacular - collectively called add-ons) functionality in Firefox, is made to be very promiscuous with JavaScript (and hasn't that grown up lately? Shocked). But there are many languages (or so it is written), that can be used to create add-ons. I toyed with JS, back when nobody thought it could do much but gimmickry and futz. I'm intrigued at the way it's been transformed.

What I had in mind was, to take the unnecessary GUI elements out of the server code, trimming it down to the server and command line/JSON functionality, then embellish that with the Mozzila API's, to create the Firefox UI and interface the JSON data with it. I am supposing that the existing server code (minus GUI) might be packed up into the add-on and installed all at once. That would actually be an extension I think, unless the server executes as a separate process and only the UI code is run in the browser, which might make it a plugin. Undecided. In anycase the important thing, is that the user can install the whole thing as a single add-on and avoid the existing download / install first. Otherwise the Bitcoin add-on, creates an extra install process and that kinda takes the shine off the easy install provided by the browser.

Quote
Payment links could be done without a browser plugin, using a specific URI as proposed in this thread.

Hmm.. Sounds great. It did cross my mind but I have never gone into how the browser derives it's URI functionality and it just seemed like a thing you would have to make a universal standard. So if there's a way to define a URI then why not? So much the better. This would still be an independent feature that could be implemented with or with out either the stand alone GUI server, or the browser add-on version. If it could be implicitly (by default) a conventional link (allowing code with information pop-up and a download dialog box to run), but explicitly a Bitcoin URI, then you could get the link to be active, regardless of whether Bitcoin is installed. If it is then do 'transfer dialog', else [NOTE: You need bitcoin installed to make this transaction...], then, Download/install dialog then, transfer dialog. I wonder if URI can have conditional properties like that.

Thanks for the feedback sirius-m  Smiley
sr. member
Activity: 429
Merit: 1002
April 29, 2010, 11:35:33 AM
#2
A Firefox plugin would be a great product if it worked without the Bitcoin server serving the JSON requests in the background. That would require some way to make it communicate with the Bitcoin network, but I don't know if Firefox plugins can do that. Maybe if Bitcoin nodes could communicate via XML- or JSON-RPC?

A good Firefox plugin would make Bitcoin a lot more attractive for the less-tech-savvy folks and perhaps more practical for everyone who handles small btc amounts.

Payment links could be done without a browser plugin, using a specific URI as proposed in this thread.
full member
Activity: 185
Merit: 121
April 29, 2010, 06:23:58 AM
#1
I have just got my bitcoin software going today,  Grin and I am about to start investigating a bitcoin project. I figure you want your wallet wherever you go on the web (once bitcoin rules the world that is Cool) and so it would be nice to have a  Firefox browser wallet plugin. This might have an editbox on the  toolbar, a spin button for amount to spend, then a pay button alongside. Existing balance could show up in the status bar. That would be the minimum design, but more sophisticated features could be implemented with a sidebar version, perhaps even pulling data from bitcoin market, your contacts, and favorite suppliers/shops/services (where you spend), as well as history and regular payment/budget features. Not sure how hard this will be as I'm not much of a programmer really. If anybody else thinks it's an easy job to knock up and wants to make it happen, I'd be happy to get out of the way. (because I wouldn't be much help to somebody doing it properly.)

Also, has anybody yet developed a shopping cart or any other payment gateway for the web? Even a donate button would be good. If you can paste some simple code into your website, from basic templates this plugin has, which include your bitcoin address/ID and a few custom settings in wizard (like the paypal widgets), then think how fast and easily people can have a monetized site. Transactions will be instant browser to browser, just like cash in person. Don't have bitcoin yet? No problemo. Click here and install the plugin right now. Paypal will be Playpal.  Grin
      HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!! HAIL BITCOIN!!!        

Jump to: