Greasy Fork

来自缓存

Greasy Fork is available in English.

clean fans in weibo

清理微博粉丝, 用完记得删除, 如果 match url 不对请自行修改一下.

// ==UserScript==
// @name         clean fans in weibo
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  清理微博粉丝, 用完记得删除, 如果 match url 不对请自行修改一下.
// @author       You
// @match        https://www.weibo.com/*/fans*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    setInterval(() => {
        document.querySelector('a[action-type="removeFan"]').click()
        document.querySelector('a[action-type="ok"]').click()
    }, 500)
    setInterval(() => {
        location.reload();
    }, 10000)
})();