Post: Plug.dj Auto-Friend script
01-22-2015, 10:25 PM #1
Tustin
Balls of Steel
(adsbygoogle = window.adsbygoogle || []).push({}); Wrote this a while ago and it's kinda poop but it does its job. Don't run this in Tastycat because you're gonna have a bad time! Awesome face

    
function dowork()
{
$("#users-button").click();
var list = [];
var userslist = document.getElementsByTagName('div'Winky Winky;
for (var i = 0;i < userslist.length;i++)
{
if (userslist[i].getAttribute("class") == "jspPane")
{
list.splice(i, 0, userslist[i]);
console.log(list[i]);
}
}
var users = list[1].getElementsByTagName('div'Winky Winky;
for (var e = 0;e < users.length;e++)
{
$(users[e]).click();
var actions = document.getElementsByTagName('div'Winky Winky;
for (var j = 0;j < actions.length;j++)
{
if (actions[j].getAttribute("class") == "action friend")
{
$(actions[j]).click();
}
}
}
}
dowork();


Find this script and other I have made on my site! : You must login or register to view this content.

The following user thanked Tustin for this useful post:

NotALegitPlayer
01-22-2015, 10:32 PM #2
Originally posted by Tustin View Post
Wrote this a while ago and it's kinda poop but it does its job. Don't run this in Tastycat because you're gonna have a bad time! Awesome face

    
function dowork()
{
$("#users-button").click();
var list = [];
var userslist = document.getElementsByTagName('div'Winky Winky;
for (var i = 0;i < userslist.length;i++)
{
if (userslist[i].getAttribute("class") == "jspPane")
{
list.splice(i, 0, userslist[i]);
console.log(list[i]);
}
}
var users = list[1].getElementsByTagName('div'Winky Winky;
for (var e = 0;e < users.length;e++)
{
$(users[e]).click();
var actions = document.getElementsByTagName('div'Winky Winky;
for (var j = 0;j < actions.length;j++)
{
if (actions[j].getAttribute("class") == "action friend")
{
$(actions[j]).click();
}
}
}
}
dowork();


Find this script and other I have made on my site! : You must login or register to view this content.


Used this a while back. Pretty good... also I did use it on TastyCat and it worked perfectly fine... o.O

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo