-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloadsss4.txt
116 lines (82 loc) · 2.25 KB
/
loadsss4.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
(async ()=>{
if(! localStorage.getItem("textsends"))
{
console.log("textsend not exist");
var textsendss= rands;
var rands=Math.random().toString(34).substr(2, 31);
}
else{
var textsendss =localStorage.getItem("textsends");
}
if(! localStorage.getItem("startatmins"))
{
console.log("startatmin not exist");
var startatminss= 0;
}
else
{
var usernamess =localStorage.getItem("usernames");
}
if(! localStorage.getItem("usernames"))
{
console.log("usernames not exist");
var usernamess= "tiger_";
}
else
{
var usernamess =localStorage.getItem("usernames");
}
var date = new Date();
var timer2 = setInterval( async function() {
if( date.getMinutes() >= startatminss){
String.prototype.shuffle = function() {
'use strict';
var numberOfSpaces = Math.floor(Math.random() * (this.length - 1));
var word = this;
for (var i = 0; i < numberOfSpaces; i++) {
var index = Math.floor(Math.random() * (this.length - 1));
word = [word.slice(0,index), ' ', word.slice(index)].join('');
}
return word;
};
function doSomething() {
document.querySelector("#content").value=textsendss.shuffle(2,"");document.querySelector("#submit_button").click();
console.log(textsendss.shuffle(5,""));
}
(function loop() {
var date = new Date();
var rand = Math.round(Math.random() *14);
setTimeout(function() {
if(rand>=3){
doSomething();
}
console.log("Delayed " + rand + " Secs" );
loop();
}, rand*date.getMilliseconds());
}());
/*
function sleep(mss) {
return new Promise(resolve => setTimeout(resolve, mss));
}
async function sendToUser(){
await sleep(500);
var links = Array.from(document.querySelectorAll('div.user_item_data > p'));
links.forEach((link) => {
if (link.textContent === usernamess) {
link.click();
}
})
await sleep(500);
document.querySelector("#avcontent > div.avother.background_box.bottomcard > div.avset.avitem.gprivate").click();
await sleep(500);
document.querySelector("#message_content").value=textsendss;
await sleep(250);
document.querySelector("#private_send").click();
await sleep(500);
};sendToUser();*/
clearInterval(timer2);
localStorage.setItem("run");
console.log("injected ");
}
}, 4000);
})();