Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getR(minz, maxz) {
- minz = Math.ceil(minz);
- maxz = Math.floor(maxz);
- return Math.floor(Math.random() * (maxz - minz + 1)) + minz;
- }
- function makeid(length) {
- var result = '';
- var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
- var charactersLength = characters.length;
- for ( var i = 0; i < length; i++ ) {
- result += characters.charAt(Math.floor(Math.random() *
- charactersLength));
- }
- return result;
- }
- function go(){
- setTimeout(function(){
- $("#a_random").click();}, 3000);
- var xol = getR(1,3);
- var myseed = makeid(5);
- if (xol==1) {
- myseed = makeid(7);
- } else if (xol==2) {
- myseed = makeid(9);
- } else {
- myseed = makeid(11);
- }
- setTimeout(function(){
- document.getElementById('new_cseed').value = (myseed); }, 5000);
- setTimeout(function(){
- document.getElementsByClassName('seed_button')[0].click();}, 9000);
- }
- setInterval(() => go(), 601500);
Add Comment
Please, Sign In to add comment