如何把微博删除清空


1:进入自己的微博,页面一定要切换到看自己微博的页面

2:按你键盘上第一排的 F12 

3: 点击进入Console

4:复制下面的代码,粘贴进去,按你键盘的enter 。就ok啦。

// ==UserScript==

// @name         Weibored.js

// @namespace    https://vito.sdf.org

// @version      0.2.0

// @description  删除所有微博

// @author       Vito Van

// @match        https://weibo.com/p/*

// @grant        none

// ==/UserScript==

'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();

}

// scroll bottom let auto load

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

}, 1200);

};

document.head.appendChild(s);

5.删除一页后,会自动刷新页面,代码也会自动停止。

6.继续在console中粘贴代码,继续按回车执行。

 

7.原创人的代码地址:

https://greasyfork.org/zh-CN/scripts/14709-weibored-js/code?version=213335

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM