Greasy Fork is available in English.
批量删除微博
当前为
// ==UserScript==
// @name 【微博】自动批量删除微博
// @namespace http://tuite.fun
// @version 1.2
// @description 批量删除微博
// @author tuite
// @match https://weibo.com/*/profile*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
var intervalInt;
initDel();
})();
function initDel() {
//1.5秒执行一次删除
intervalInt = self.setInterval(function(){
if (document.querySelector('a[action-type="feed_list_delete"]')) {
document.querySelector('a[action-type="feed_list_delete"]').click();
document.querySelector('a[node-type="ok"]').click();
} else {
window.clearInterval(intervalInt)
}
}, 2000);
}