t66y.com

try to take over the world!

  1. // ==UserScript==
  2. // @name t66y.com
  3. // @namespace t66y.com/
  4. // @version 0.3
  5. // @description try to take over the world!
  6. // @author You
  7. // @include *t66y.com*
  8. // @grant none
  9. // ==/UserScript==
  10. var table = document.querySelectorAll('.sptable_do_not_remove');
  11. if (document.querySelectorAll('.sptable_do_not_remove span').length > 0) {
  12. var str = document.querySelectorAll('.sptable_do_not_remove span') [0].className;
  13. for (var j = 0; j < table.length; j++) {
  14. var td = table[j].querySelectorAll('td');
  15. for (var i = 0; i < td.length; i++) {
  16. td[i].innerHTML = '<span class=' + str + '>&nbsp;</span>';
  17. }
  18. }
  19. } else {
  20. for (var k = 0; k < table.length; k++) {
  21. table[k].style.display = 'none';
  22. }
  23. }