8000 GitHub - ojuliomiguel/IG-Analytics: JS script to check who follows you back on Instagram.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ojuliomiguel/IG-Analytics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IG Unfollowers

made-with-javascript maintaned-true

The simplest and safest way to check if people follows you back

How to use it?

  1. Copy following code
let me = []; let you = []; let heightMe; let heightYou; let difference; let username = window.location.href.slice(25); let meCount = Number(document.querySelector(`[href="${username}following/"] span`).textContent); let youCount = Number(document.querySelector(`[href="${username}followers/"] span`).textContent); const getFollowing = () => { document.querySelector(`[href="${username}following/"]`).click(); setTimeout(() => { document.querySelector('._aano div div').setAttribute('id', 'me'); const meTimer = setInterval(() => { if (document.querySelector('#me')) { heightMe = document.querySelector('#me').scrollHeight; document.querySelector('#me').scrollIntoView({block: 'end'}); if (heightMe === document.querySelector('#me').scrollHeight) { document.querySelectorAll('#me div a[role="link"] span').forEach((element, i) => { me[i] = element.textContent; }); if (me.length === meCount) { getFollowers(); clearInterval(meTimer); } } } }, 1500); }, 5000); }; const getFollowers = () => { document.querySelector(`[href="${username}followers/"]`).click(); setTimeout(() => { document.querySelector('._aano div div').setAttribute('id', 'you'); const youTimer = setInterval(() => { if (document.querySelector('#you')) { heightYou = document.querySelector('#you').scrollHeight; document.querySelector('#you').scrollIntoView({block: 'end'}); if (heightYou === document.querySelector('#you').scrollHeight) { document.querySelectorAll('#you div a[role="link"] span').forEach((element, i) => { you[i] = element.textContent; }); if (you.length === youCount) { getDifference(); clearInterval(youTimer); } } } }, 1500); }, 5000); }; const getDifference = () => { difference = me.filter(x => you.indexOf(x) === -1); console.log(difference); }; getFollowing();
  1. Goto Instagram webpage and log in into your account.
  2. Open the developer console: Ctrl + Shift + J (on Windows) or ⌘ + ⌥ + I (on MacOS) and paste the code.

About

JS script to check who follows you back on Instagram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0