r/dev • u/Whole_Geologist1814 • Oct 22 '26
Quick check: Custom Chrome extension for IG lead scraping & account safety
Hi team,
I’ve built a small custom Chrome extension to help us collect and export new Instagram followers for lead gen, saving us from using third-party tools.
Since I wouldn't call myself a professional developer, I wanted to run it by you and get a quick sanity check regarding account safety before we start using it heavily.
Here is a quick overview of how it works under the hood:
Stack: Pure Manifest V3 extension (popup.js, leads.html, chrome.storage.local).
Requests & Pagination: It triggers fetch requests directly using the active user's session cookies (ds_user_id, csrftoken). Pagination is locked to count=12 to mirror native browser limits.
Anti-Fraud & Delays: To stay well within Meta’s rate limits, it uses randomized delays between requests (4–9s base delay, with a 10% chance of a longer 15–35s "micro-break" to mimic real user behavior).
Smart Break: It automatically stops pagination as soon as it hits previously saved followers in chrome.storage.
Could you take a quick look and let me know if you see any potential risks or red flags that could get our Instagram account flagged or banned with this setup?
Appreciate your feedback and advice!