谷歌瀏覽器舅桩,F(xiàn)12,sources找到watch砾淌。添加下面代碼下去
// ==UserScript==
// @name Weibored.js
// @namespace http://vito.sdf.org
// @version 0.1
// @description 刪除所有微博
// @author Vito Van
// @match http://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(){
for(var i=0;i<100;i++){
setTimeout(function(){
$('a[action-type="fl_menu"]')[0].click();
$('a[title="刪除此條微博"]')[0].click();
$('a[action-type="ok"]')[0].click();
},1000*i);
}
}
document.head.appendChild(s);