Block Users from Blogroll

Allows you to block selected users from the blogroll.

目前为 2018-02-05 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Block Users from Blogroll
  3. // @namespace pxgamer
  4. // @version 0.2
  5. // @description Allows you to block selected users from the blogroll.
  6. // @author pxgamer
  7. // @include *kat.cr/*
  8. // @grant none
  9. // ==/UserScript==
  10. /*jshint multistr: true */
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Begin Blocklist
  16. var blocklist = [
  17. /*'TheDels'*/
  18. ];
  19. // End Blocklist
  20.  
  21. $('#blogroll li .explanation a.plain.aclColor_').each(
  22. function() {
  23. for (var i = 0; i < blocklist.length; i++) {
  24. if ($(this).text() == blocklist[i]) {
  25. $(this).parent().parent().hide();
  26. }
  27. }
  28. }
  29. );
  30. })();