Instagram follow

try to take over the world!

目前为 2018-08-13 提交的版本,查看 最新版本

// ==UserScript==
// @name         Instagram follow
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://tampermonkey.net/index.php?version=4.7&ext=dhdg&updated=true
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
jQuery.noConflict();

//und das als script
window.setInterval(function(){
var x = 0;
$(document.getElementsByClassName("L3NKy")).each(
function(){ if(!this.classList.contains("_8A5w5")){
if(x==1) {return false;}
else
{$(this).trigger("click");
x++;console.log('follow');}}
}
)
console.log('loop');
}, 90000); // zeit, die man zwischen den follows wartet. 90000ms ist recht safe 60000 = 1min
})();