您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatic Twitter unfollower tool. Last Update: 11-22-2014
当前为
// ==UserScript== // @name Twitter Unfollower // @version 0.1 // @description Automatic Twitter unfollower tool. Last Update: 11-22-2014 // @author [email protected] // @namespace https://greasyfork.org/en/users/6473-ekin // @match https://twitter.com/following // @grant none // ==/UserScript== $(function() { var config = { editBtn: ".UserActions-editButton", intervalTime: 2000 }; $(config.editBtn).before('<button type="button" id="unfollowBtn" class="edit-button btn"><span class="button-text unfollow-text">Start Unfollowing</span></button> '); function unfollowAll() { $(".user-actions").each(function() { if (/not-following/i.test($(this).attr("class")) == false) { $(this).children(".follow-button").trigger("click"); } }); } function unfollowInit() { unfollowAll(); setInterval(function() { unfollowAll(); $("html, body").animate({ scrollTop: $(document).height() }, 1000); }, config.intervalTime); } $("#unfollowBtn").click(function() { unfollowInit(); }); });