FollowAll (Killeringa)

A partir de un perfil de un usuario sigue a los seguidos y seguidores de este

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name FollowAll (Killeringa)
// @namespace https://greasyfork.org/en/users/243179-kchamat
// @version 0.11
// @description A partir de un perfil de un usuario sigue a los seguidos y seguidores de este
// @author Autofollow by @kchamat based on @Cazador4ever CazaTools
// @match https://killeringa.org/perfil/*
// @grant none
// ==/UserScript==

(function($) {
'use strict';
    //--ocultar un objeto
function ocultar(objeto){
var styles = objeto+'{display:none; margin-top:5000px; }';
var styleSheet = document.createElement("style");
styleSheet.type = "text/css";
styleSheet.innerText = styles;
document.head.appendChild(styleSheet)
}
//--seguir
function seguir(){
    if ($(".follow_user_post").length ) {
        $(".follow_user_post").click();

        }
    else {window.history.go(-2)}
}
    setTimeout(function() {
    var direccion=Math.floor(Math.random() *2);
    if (direccion=0){$("#seguidores").click();}
    else {$("#siguiendo").click();}
}, 1000);
    //--random
function random(){
 if ($(".zebrados").length ) {
    var cuantos=$(".zebrados").length
    var dado=Math.floor((Math.random() * cuantos) + 1);
    var ichus=0;
    for (ichus = 0; ichus < dado-1 ; ichus++) {
        $(".zebrados:first").removeClass("zebrados");
}
// $(".zebrados:first").children(".avt").click();
 $(".zebrados:first").children(".avt").addClass("selected");
$(".selected").children().click();
        }
    else {window.history.go(-2)}
}
//--empieza
    seguir();
setTimeout(function() {
random();
//seguir();

}, 20000);
//ocultar("div#mydialog");
//ocultar("div#mask");
})(jQuery);