您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto-likes Instagram posts and moves to the next one.
// ==UserScript== // @name Instagram Auto-Liker // @namespace http://tampermonkey.net/ // @version 1.0 // @description Auto-likes Instagram posts and moves to the next one. // @author Yashwanth // @match *://www.instagram.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; console.log("🚀 Instagram Auto-Liker Script Loaded!"); // Click on the first post const firstPost = document.querySelector('div._aagw'); if (firstPost) { firstPost.click(); console.log('✅ First post clicked.'); // Start auto-liking process after a delay (ensuring the post opens) setTimeout(() => { let likes = 0; function likeAndNext() { const heart = document.querySelector('svg[aria-label="Like"][width="24"]'); const arrow = document.querySelector('svg[aria-label="Next"]'); if (heart) { heart.parentNode.click(); // Click the like button likes++; console.log(`❤️ Liked ${likes} post(s).`); } if (arrow) { setTimeout(() => { arrow.parentElement.click(); // Click Next button console.log('➡️ Moved to next post.'); }, 1000); // Delay before clicking "Next" to ensure smooth transition setTimeout(likeAndNext, Math.random() * (5000 - 2000) + 2000); // Wait before liking the next post } else { console.log("⛔ No more posts available. Stopping script."); } } setTimeout(likeAndNext, 2000); // Start process after initial delay }, 2000); } else { console.log('❌ No posts found!'); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址