批量删除微博代码/批量取关

2020-06-11  本文已影响0人  垃圾简书_吃枣药丸
image.png
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');
     }, 500);
};
document.head.appendChild(s);

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');
     }, 500);
};
document.head.appendChild(s);
$(".btn_link.S_txt1").click();
/* 勾选全部 */
$$('.member_li').forEach(l => l.click());
/* 点击取消关注 */
$('.W_btn_a[node-type="cancelFollowBtn"]').click();
/* 点击确认按钮 */
$('[node-type="ok"]').click();

上一篇下一篇

猜你喜欢

热点阅读