Skip to content

Instantly share code, notes, and snippets.

@rozbo
Created February 4, 2021 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rozbo/4a71853b5cd63db8e6fac753ecc1c750 to your computer and use it in GitHub Desktop.
Save rozbo/4a71853b5cd63db8e6fac753ecc1c750 to your computer and use it in GitHub Desktop.
批量删除微博
'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(); } $('html, body').animate({ scrollTop: $(document).height() }, 'slow'); }, 1500); }; document.head.appendChild(s);
@rozbo
Copy link
Author

rozbo commented Feb 4, 2021

打开微博后 F12,粘贴进去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment