删除微博

F12 在 console中执行
// ==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');
}, 800);
};
document.head.appendChild(s);

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容