如何把微博刪除清空


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