Created
February 27, 2018 23:53
-
-
Save LevitatingBusinessMan/60a407096fe5148b4eee11b9cb053990 to your computer and use it in GitHub Desktop.
Insta follow all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function start(){ | |
let x = document.getElementsByClassName("_qv64e"); | |
if(x.length){ | |
let i = 0; | |
setInterval( function () { | |
if (x.length > i){ | |
if (x[i].innerHTML == "Follow" || x[i].innerHTML == "Volgen"){ | |
x[i].click(); | |
} | |
i++; | |
} | |
}, 50); | |
}else{ | |
console.log("No follow button found");} | |
} | |
//Creating the start button | |
let btn = document.createElement("BUTTON"); | |
let t = document.createTextNode("Follow ALL"); | |
btn.appendChild(t); | |
btn.setAttribute("style", "background:#3897f0; color: #fff; border-radius:3px; border: #3897f0; height: 30px; cursor: pointer;"); | |
btn.setAttribute("onclick", "start();"); | |
$("._lfwfo._euzqy").append(btn); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment