Skip to content

Instantly share code, notes, and snippets.

View aelphias's full-sized avatar
:shipit:

Igor Mitchell aelphias

:shipit:
  • active soft ltd
  • Russia, Sochi
View GitHub Profile
@aelphias
aelphias / instagram-unfollow-users.md
Last active August 9, 2025 22:17 — forked from berstend/instagram-unfollow-users.md
Mass unfollow users on Instagram (no app needed)
  • Go to your profile on instagram.com (sign in if not already)
  • Click on XXX following for the popup with the users you're following to appear
  • Open Chrome Devtools and Paste the following into the Console and hit return:
(async function () {
  const MAX_PER_DAY = 400;                  // Maximum number of unfollows allowed per day
  const PAUSE_AFTER_BATCH = 10;             // Pause after every 10 unfollows
  const PAUSE_DURATION = 10 * 60 * 1000;    // Pause duration: 10 minutes (in ms)
  const delay = (ms) => new Promise(r => setTimeout(r, ms));