Greasy Fork

Greasy Fork is available in English.

新浪微博一键清关注

清空微博所有关注

当前为 2020-05-25 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         新浪微博一键清关注
// @namespace    http://tampermonkey.net/
// @version      2.35
// @description  清空微博所有关注
// @author       Waki_Ji&crane-yuan
// @match        https://*.weibo.com/*/follow*
// @match        https://weibo.com/*/follow*
// @match        https://*.weibo.com/p/*/myfollow*
// @match        https://weibo.com/p/*/myfollow*
// @require      http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.js
// @grant        none
// @compatible   Chrome 测试通过
// @compatible   Chromium 测试通过
// @cpmpatible   Firefox 测试通过
// @compatible   
// 感谢crane-yuan提供的代码 本人在此基础上加以修改得出
// Crane-yuan代码:http://greasyfork.icu/zh-CN/scripts/25697
// ==/UserScript==
// ==梦开始的地方==

window.setInterval(function(){
    $('a[action-type="cancel_follow_single"]')[0].click();//确定窗口
    $('a[action-type="ok"]')[0].click();//确定确认按钮
    setTimeout("self.location.reload();",4000);//自动刷新
},404)

//梦结束的地方