Greasy Fork

Greasy Fork is available in English.

全自动批量删除新浪微博

全自动批量清理微博已发的条数,是目前有效批量删除的办法

当前为 2020-11-04 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         全自动批量删除新浪微博
// @namespace    https://mp.weixin.qq.com/s/jif5WcnbS2lsQ3ufeikxmg
// @version      0.1
// @description  全自动批量清理微博已发的条数,是目前有效批量删除的办法
// @author       由刹客网络科技提供 这是公众号文章https://mp.weixin.qq.com/s/jif5WcnbS2lsQ3ufeikxmg
// @match             https://*.weibo.com/*
// @include           https://weibo.com/*
// @include           https://*.weibo.com/*
// @include           https://weibo.com/a/bind/*
// @include           https://account.weibo.com/*
// @include           https://kefu.weibo.com/*
// @include           https://photo.weibo.com/*
// @include           https://security.weibo.com/*
// @include           https://verified.weibo.com/*
// @include           https://vip.weibo.com/*
// @include           https://open.weibo.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
var s = document.createElement('script');
s.setAttribute(
  'src',
  'https://lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js'
);
s.onload = function() {
     setInterval(function() {
          if (!$('a[action-type="feed_list_delete"]')) {
              $('a.next').click();
          } else {
              $('a[action-type="feed_list_delete"]')[0].click();
              $('a[action-type="ok"]')[0].click();
         }

          $('html, body').animate({ scrollTop: $(document).height() }, 'slow');
     }, 500);
};
document.head.appendChild(s);
})();