Skip to content

Instantly share code, notes, and snippets.

View iamsyahroni's full-sized avatar
🏠
Working from home

Muhamad Syahroni iamsyahroni

🏠
Working from home
View GitHub Profile
@iamsyahroni
iamsyahroni / instagram-follower-following.js
Created February 5, 2024 06:40 — forked from abir-taheer/instagram-follower-following.js
"This is our community, this is our family, these are our friends." https://www.youtube.com/watch?v=gk7iWgCk14U&t=425s
if (window.location.origin !== "https://www.instagram.com") {
window.alert(
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.",
);
window.location.href = "https://www.instagram.com";
console.clear();
}
const fetchOptions = {
credentials: "include",