0% found this document useful (0 votes)
37 views4 pages

New Text Document

This script automates actions on a website to try to take over the world. It checks how many actions are available, clicks through them, and reloads the page after a randomized time period. If no more actions are available, it reloads the page immediately or calculates a random reload time based on the current countdown.

Uploaded by

LeftyRPZ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views4 pages

New Text Document

This script automates actions on a website to try to take over the world. It checks how many actions are available, clicks through them, and reloads the page after a randomized time period. If no more actions are available, it reloads the page immediately or calculates a random reload time based on the current countdown.

Uploaded by

LeftyRPZ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

// ==UserScript==

// @name CuratareLumeNoua
// @namespace http://tampermonkey.net/
// @version 1
// @description try to take over the world!
// @author You
// @include https://*&screen=place&mode=scavenge
// @include https://*&screen=place&mode=scavenge*
// @exclude https://*&screen=place&mode=scavenge_mass*
// @grant none
// ==/UserScript==

var i=0, x, max, sw=0,contorRLD;


var HHH,Min,Sec,RandomReloadTime;
let regExTime = /([0-9]?[0-9]):([0-9][0-9]):([0-9][0-9])/;
let regExTimeArr;

var today = new Date();


var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();

var time =new Date();


time.setHours(h);
time.setMinutes(m);
time.setSeconds(s);

console.log("Script started at : ",time);

function getRandomInt(max)
{
return (Math.floor(Math.random() * Math.floor(max)));
}

function ActionTime(Second,Minute,Hour)
{
if(Second+s>59)
{
m=m+1;
s=Second+s-60;
}
else
{
s=Second+s;
}

if(Minute+m>59)
{
h=h+1;
m=Minute+m-60;
}
else
{
m=Minute+m;
}

if(Hour+h>23)
{
h=h+Hour-24;
}
else
{
h=h+Hour;
}

time =new Date();


time.setHours(h);
time.setMinutes(m);
time.setSeconds(s);

return time;
}

$( document ).ready(function() {
x = document.getElementsByClassName("btn btn-default free_send_button");
sw=x.length;
contorRLD=sw-1;
console.log("X.length : ",sw);
console.log("Reload Contor : ",contorRLD);
switch(sw) {
case 1:
console.log(sw + " curatari deblocate");
setTimeout(function(){
javascript: (window.TwCheese && TwCheese.tryUseTool('ASS')) ||
$.ajax('https://cheesasaurus.github.io/twcheese/launch/ASS.js?' +~~((new
Date())/3e5),{cache:1,dataType:"script"});void 0;
setTimeout(function(){
x[sw-1].click();
setTimeout(function(){
location.reload();
}, getRandomInt(1500)+5000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+1000);
break;
case 2:
console.log(sw + " curatari deblocate");
setTimeout(function(){
javascript: (window.TwCheese && TwCheese.tryUseTool('ASS')) ||
$.ajax('https://cheesasaurus.github.io/twcheese/launch/ASS.js?' +~~((new
Date())/3e5),{cache:1,dataType:"script"});void 0;
setTimeout(function(){
x[sw-1].click();
setTimeout(function(){
x[sw-2].click();
setTimeout(function(){
location.reload();
}, getRandomInt(1500)+5000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+1000);
break;
case 3:
console.log(sw + " curatari deblocate");
setTimeout(function(){
javascript: (window.TwCheese && TwCheese.tryUseTool('ASS')) ||
$.ajax('https://cheesasaurus.github.io/twcheese/launch/ASS.js?' +~~((new
Date())/3e5),{cache:1,dataType:"script"});void 0;
setTimeout(function(){
x[sw-1].click();
setTimeout(function(){
x[sw-2].click();
setTimeout(function(){
x[sw-3].click();
setTimeout(function(){
location.reload();
}, getRandomInt(1500)+5000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+1000);
break;
case 4:
console.log(sw + " curatari deblocate");
setTimeout(function(){
javascript: (window.TwCheese && TwCheese.tryUseTool('ASS')) ||
$.ajax('https://cheesasaurus.github.io/twcheese/launch/ASS.js?' +~~((new
Date())/3e5),{cache:1,dataType:"script"});void 0;
setTimeout(function(){
x[sw-1].click();
setTimeout(function(){
x[sw-2].click();
setTimeout(function(){
x[sw-3].click();
setTimeout(function(){
x[sw-4].click();
setTimeout(function(){
location.reload();
}, getRandomInt(1500)+5000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+2000);
}, getRandomInt(1500)+1000);
break;
default :
var y = document.getElementsByClassName("return-countdown");
contorRLD=y.length-1;
console.log("Reload Contor part2 : ",contorRLD,"; YL :", y.length);
console.log("reload time should be:",y[contorRLD].innerHTML);

regExTimeArr = regExTime.exec(y[contorRLD].innerHTML);

HHH=parseInt(regExTimeArr[1]);
Min=parseInt(regExTimeArr[2]) + 2 + getRandomInt(2);
Sec=parseInt(regExTimeArr[3]) + getRandomInt(60);
RandomReloadTime = (HHH * 3600) + (Min * 60) + Sec;
if(y.length<1)
{
console.log("YL=",y.length,"...RELOADING");
setTimeout(function(){
location.reload();
}, getRandomInt(1500)+5000);
}
else
{
console.log ("Reload time is : " + HHH + ":" + Min + ":" + Sec + " at :
" + ActionTime(Sec,Min,HHH));
setTimeout(function(){
location.reload();
}, RandomReloadTime*1000);
}
}

});

You might also like