Skip to content

Instantly share code, notes, and snippets.

@jagdishlove
Last active December 19, 2021 18:00
Show Gist options
  • Save jagdishlove/2393f32601054600be06fa4d20df5cb8 to your computer and use it in GitHub Desktop.
Save jagdishlove/2393f32601054600be06fa4d20df5cb8 to your computer and use it in GitHub Desktop.
  1. This is for who want to run unfollow script in their instagram profile then you will get following list scroll till the end and you will find profile with no intraction at the end of you list this is will reverse your following list and then apply that script which will run from the top

  2. For reversing open your inspect element and check from where your all list rendering in that div you need to add new id="anything" and use that id in you console and replace element to your id and then call your function.

For unfollow script Click here

function reverseChildren(element) {
    for (var i = 1; i < element.childNodes.length; i++){
        element.insertBefore(element.childNodes[i], element.firstChild);
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment