FollowAll (Killeringa)

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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);