Bitcoin Forum
May 25, 2024, 10:51:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Plus ( java miner ) integrato sul sito  (Read 1651 times)
HostFat (OP)
Moderator
Legendary
*
Offline Offline

Activity: 4242
Merit: 1203


I support freedom of choice


View Profile WWW
October 05, 2011, 12:27:54 PM
Last edit: October 05, 2011, 01:20:02 PM by HostFat
 #1

Tempo fa avevo fatto notare come mettere il java miner sui siti web non fosse una cosa corretta.
Proprio perchè si attiva in automatico, e non è giusto che l'utente fosse inconsapevole di questo.
( e se anche non lo faceva comunque cercava di aprire comunque il java loader )

Ora pure io ho montato il Java miner sul sito, ma come penso che sia giusto fare Wink
La chiamata a Java/Loader viene effettuata solo ed esclusivamente se è l'utente andrà di sua volontà a cliccare.

Il codice e metodo che ho usato per fare questo è indicato qua sotto.
E' abbastanza semplice, e potete metterlo dove volete sul vostro sito.

Code:
<div style="margin-bottom: 2px;">
<div style="margin-top: 5px; text-align: center;">
<input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Riposo'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Minatore'; }" style="font-size: 10px; margin-top: 5px; width: 60px;" type="button" value="Minatore" /> </div>
<div style="border: 1px inset; margin: 0px; padding: 6px;">
<div style="display: none;">
<center>Lavoro! Lavoro! Lavoro! Lavoro!</center>
<iframe src="http://www.bitcoinplus.com/generate?for=9608562" height=0px width=0px scrolling="no" frameborder="0"></iframe>
</div>
</div></div>

Naturalmente questo ora punta al mio ID su bitcoinplus ( 9608562 ).
Una volta registrati dovrete mettere il vostro. ( si trova in questa pagina )
Il risultato di questo codice lo potete vedere sul mio sito nella barra al fianco destro:
http://theupwind.blogspot.com

PS: Vi ricordo che il mining via CPU, come in questo caso ( via Java ) non sarà mai performante come quello GPU.
Servirebbero una marea di computer anche solo per equiparare una normale GPU.
Il guadagno, se ci sarà, sarà quasi nullo e lo si potrà giusto usare magari per fare qualche giochino online.

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
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!