Skip to content

Instantly share code, notes, and snippets.

@panoply
Created September 6, 2016 20:10
Show Gist options
  • Select an option

  • Save panoply/cc8c6951325cb12030a0be62bc07c6c0 to your computer and use it in GitHub Desktop.

Select an option

Save panoply/cc8c6951325cb12030a0be62bc07c6c0 to your computer and use it in GitHub Desktop.
Unfollow all on Instagram
setInterval(Unfollow, 1000);
function Unfollow() {
var followingBox = document.querySelectorAll("a[href='/brixtol/following/']");
followingBox[0].click();
setTimeout(function(){
var following = document.querySelectorAll("._aj7mu._r4e4p._95tat._o0442");
for (var i = 0; i < following.length; i++){
following[i].click();
}
var close = document.querySelectorAll("._3eajp");
close[0].click();
},5000);
}
@badboy1371

Copy link
Copy Markdown

hi
how shoul i use this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment