谷歌浏览器,F12,sources找到watch。添加下面代码下去
// ==UserScript==
// @name Weibored.js
// @version 0.1
// @description 删除所有微博
// @author Vito Van
// @grant none
// ==/UserScript==
'use strict';
var s = document.createElement("script");
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);