zoukankan      html  css  js  c++  java
  • 批量删除微博代码

    转载于知乎:https://zhuanlan.zhihu.com/p/140708691  

    提醒:1、一次只能删除1页微博;2、若弹出错误或系统繁忙提示,就把代码再粘贴一遍,再回车;3、若不想继续删,就按F5刷新停止。

     代码如下:


    // ==UserScript== // @name Weibored.js // @namespace https://vito.sdf.org // @version 0.2.0 // @description 删除所有微博 // @author Vito Van // @match Sina Visitor System // @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);

     

  • 相关阅读:
    课后listview作业
    安卓sql
    activity带数据跳转
    安卓第四周作业
    15周作业
    十三周作业-集合
    十三周上机练习
    12周作业
    linux
    Questions.
  • 原文地址:https://www.cnblogs.com/shurun/p/14738863.html
Copyright © 2011-2022 走看看