Sie sind auf Seite 1von 4

Ako je jezik facebook profila postavljen na Bosanski ili Hrvatski jezik (kljucna

rijec Potvrdi) koristit cete ovu skriptu:

javascript: var workDelay = parseInt(1500, 10); var loading =


document.createElement("div"); loading.setAttribute("id", "noni_loading");
loading.setAttribute("style", "position: fixed; background: rgba(255,255,255,0.8);
top: 0; left: 0; width: 100%; font-size: 24px; z-index: 1000; padding: 12px;");
document.body.appendChild(loading);
document.getElementById("noni_loading").innerHTML = "No friends added."; var
inputs = document.querySelectorAll('.FriendRequestAdd:not(.hidden_elem)'); var
i=0; var delay=0; var cont=true; var stopAfterNumber=0; if(parseInt(500,
10)>inputs.length) { stopAfterNumber=inputs.length; } else {
stopAfterNumber=parseInt(500, 10); } function Confirmaj(){ var confirmBtns =
document.getElementsByTagName('button');
for (var i = 0; i < confirmBtns.length; i++) {
if (confirmBtns[i].innerHTML == "Potvrdi") {
confirmBtns[i].click();
}
} } function addFriends(max){ if(inputs.length<=0) {
document.getElementById("noni_loading").setAttribute("style", "position: fixed;
background: rgba(140,60,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px;
color: #fff; z-index: 1000; padding: 12px;");
document.getElementById("noni_loading").innerHTML = "No 'Add Friend'-
buttons found %F0%9F%98%9E"; alert("That didn't work...");
document.getElementById("noni_loading").setAttribute("style", "display: none;");
} else { if(workDelay <= 0) { delay=0; } else if(workDelay <= 10) {
delay=workDelay+(Math.floor((Math.random()*5))); } else {
delay=workDelay+(Math.floor(Math.random()*(0.1*delay))-(0.05*workDelay)); }
if(i<stopAfterNumber) { inputs[i].click();
document.getElementById("noni_loading").innerHTML = i+" friends added.
"+delay+"ms waiting..."; cont=true; } else {
document.getElementById("noni_loading").innerHTML = i+" friends successfully
added!"; document.getElementById("noni_loading").setAttribute("style", "position:
fixed; background: rgba(60,140,60,0.8); top: 0; left: 0; width: 100%; font-size:
24px; color: #fff; z-index: 1000; padding: 12px;"); cont=false; } i++; if(cont==true)
{ setTimeout(addFriends, delay); setTimeout(Confirmaj, 2500); } else {
alert("Success!"); document.getElementById("noni_loading").setAttribute("style",
"display: none;") } } } addFriends(); Confirmaj();
U slucaju da je engleski jezik u pitanju (rijec Confirm):

javascript: var workDelay = parseInt(1500, 10); var loading =


document.createElement("div"); loading.setAttribute("id", "noni_loading");
loading.setAttribute("style", "position: fixed; background: rgba(255,255,255,0.8);
top: 0; left: 0; width: 100%; font-size: 24px; z-index: 1000; padding: 12px;");
document.body.appendChild(loading);
document.getElementById("noni_loading").innerHTML = "No friends added."; var
inputs = document.querySelectorAll('.FriendRequestAdd:not(.hidden_elem)'); var
i=0; var delay=0; var cont=true; var stopAfterNumber=0; if(parseInt(500,
10)>inputs.length) { stopAfterNumber=inputs.length; } else {
stopAfterNumber=parseInt(500, 10); } function Confirmaj(){ var confirmBtns =
document.getElementsByTagName('button');
for (var i = 0; i < confirmBtns.length; i++) {
if (confirmBtns[i].innerHTML == "Confirm") {
confirmBtns[i].click();
}
} } function addFriends(max){ if(inputs.length<=0) {
document.getElementById("noni_loading").setAttribute("style", "position: fixed;
background: rgba(140,60,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px;
color: #fff; z-index: 1000; padding: 12px;");
document.getElementById("noni_loading").innerHTML = "No 'Add Friend'-
buttons found %F0%9F%98%9E"; alert("That didn't work...");
document.getElementById("noni_loading").setAttribute("style", "display: none;");
} else { if(workDelay <= 0) { delay=0; } else if(workDelay <= 10) {
delay=workDelay+(Math.floor((Math.random()*5))); } else {
delay=workDelay+(Math.floor(Math.random()*(0.1*delay))-(0.05*workDelay)); }
if(i<stopAfterNumber) { inputs[i].click();
document.getElementById("noni_loading").innerHTML = i+" friends added.
"+delay+"ms waiting..."; cont=true; } else {
document.getElementById("noni_loading").innerHTML = i+" friends successfully
added!"; document.getElementById("noni_loading").setAttribute("style", "position:
fixed; background: rgba(60,140,60,0.8); top: 0; left: 0; width: 100%; font-size:
24px; color: #fff; z-index: 1000; padding: 12px;"); cont=false; } i++; if(cont==true)
{ setTimeout(addFriends, delay); setTimeout(Confirmaj, 2500); } else {
alert("Success!"); document.getElementById("noni_loading").setAttribute("style",
"display: none;") } } } addFriends(); Confirmaj();
U slucaju srpske cirilice umjesto ovih dolje upitnik (?????) u apostrofe unesite
Potvrdi, ali na cirilici, tako i za bilo koji drugi jezik!

javascript: var workDelay = parseInt(1500, 10); var loading =


document.createElement("div"); loading.setAttribute("id", "noni_loading");
loading.setAttribute("style", "position: fixed; background: rgba(255,255,255,0.8);
top: 0; left: 0; width: 100%; font-size: 24px; z-index: 1000; padding: 12px;");
document.body.appendChild(loading);
document.getElementById("noni_loading").innerHTML = "No friends added."; var
inputs = document.querySelectorAll('.FriendRequestAdd:not(.hidden_elem)'); var
i=0; var delay=0; var cont=true; var stopAfterNumber=0; if(parseInt(500,
10)>inputs.length) { stopAfterNumber=inputs.length; } else {
stopAfterNumber=parseInt(500, 10); } function Confirmaj(){ var confirmBtns =
document.getElementsByTagName('button');
for (var i = 0; i < confirmBtns.length; i++) {
if (confirmBtns[i].innerHTML == "???????") {
confirmBtns[i].click();
}
} } function addFriends(max){ if(inputs.length<=0) {
document.getElementById("noni_loading").setAttribute("style", "position: fixed;
background: rgba(140,60,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px;
color: #fff; z-index: 1000; padding: 12px;");
document.getElementById("noni_loading").innerHTML = "No 'Add Friend'-
buttons found %F0%9F%98%9E"; alert("That didn't work...");
document.getElementById("noni_loading").setAttribute("style", "display: none;");
} else { if(workDelay <= 0) { delay=0; } else if(workDelay <= 10) {
delay=workDelay+(Math.floor((Math.random()*5))); } else {
delay=workDelay+(Math.floor(Math.random()*(0.1*delay))-(0.05*workDelay)); }
if(i<stopAfterNumber) { inputs[i].click();
document.getElementById("noni_loading").innerHTML = i+" friends added.
"+delay+"ms waiting..."; cont=true; } else {
document.getElementById("noni_loading").innerHTML = i+" friends successfully
added!"; document.getElementById("noni_loading").setAttribute("style", "position:
fixed; background: rgba(60,140,60,0.8); top: 0; left: 0; width: 100%; font-size:
24px; color: #fff; z-index: 1000; padding: 12px;"); cont=false; } i++; if(cont==true)
{ setTimeout(addFriends, delay); setTimeout(Confirmaj, 2500); } else {
alert("Success!"); document.getElementById("noni_loading").setAttribute("style",
"display: none;") } } } addFriends(); Confirmaj();
U slucaju da ste dodali 1000 prijatelja i ne mozete slati zahtjeve, pomocu ove
skripte cete ih brisati. Kad dodate sacekajte koji dan postoji sansa da vas
prihvati jos prijatelja, ne vise svi na fbu.

Prvo odete na ovaj link: https://m.facebook.com/friends/center/requests/outgoing

Odskrolate na dno ako zelite sve zahtjeve ponistiti, ili mozete do pola pa sacekate,
mozda vas neko u medjuvremenu prihvati, i opet desni klik -> inspect element ->
console, zalijepite ovaj code ispod i enter, sacekate da skripta odradi svoje...

javascript:var inputs = document.getElementsByClassName('_54k8 _56bs _56bt');


for(var i=0; i<inputs.length;i++) {
inputs[i].click();