Skip to content

Instantly share code, notes, and snippets.

@GpanosXP
Last active May 24, 2018 16:53
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save GpanosXP/6733bd1fe7450c265c0ef3eb8c3493cf to your computer and use it in GitHub Desktop.
Save GpanosXP/6733bd1fe7450c265c0ef3eb8c3493cf to your computer and use it in GitHub Desktop.
A script that continually clicks the generate new address button until you tell it to stop.
var genAddrId = genAddrId || undefined;
clearInterval(genAddrId);
var btnAddr = document.getElementById("generate-address-btn");
function genNewAddr()
{
if (btnAddr.innerText[2] != "D") return;
btnAddr.click();
setTimeout(function() { btnAddr.click(); }, 1000);
}
btnAddr.click();
setTimeout(function() { btnAddr.click(); }, 1000);
var genAddrId = setInterval(genNewAddr, 5000);
function stop()
{
console.log("\n\n\nOK, will now stop after this final attach has been completed!\n\n\n");
clearInterval(genAddrId);
}
@McElwrath
Copy link

This tool is for a different Wallet than the new one. Thanx anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment