Weibored.js

remove all users you're following

  1. // ==UserScript==
  2. // @name Weibored.js
  3. // @namespace http://ivanjiang.com
  4. // @version 0.1
  5. // @description remove all users you're following
  6. // @author Ivan Jiang
  7. // @match http://weibo.com/*/*follow*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. var s = document.createElement("script");
  15. s.setAttribute("src","https://lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js");
  16. s.onload = function(){
  17. setInterval(function(){
  18. var $unfoBtn = $('a[action-type="cancel_follow_single"]'),
  19. $confirm;
  20. if ($unfoBtn.length) {
  21. $unfoBtn[0].click();
  22. $confirm = $('a[action-type="ok"]');
  23. $confirm[$confirm.length - 1].click();
  24. } else {
  25. location.reload();
  26. }
  27. }, 1200);
  28. };
  29. document.head.appendChild(s);
  30. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址