Hides Chess.com Tactics Timer Clock

chessComHideTacticsTimerClock

当前为 2018-04-22 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Hides Chess.com Tactics Timer Clock
  3. // @namespace http://userstyles.org
  4. // @description chessComHideTacticsTimerClock
  5. // @author ceberous
  6. // @homepage https://creatitees.info
  7. // @include *://*.chess.com/tactics/*
  8. // @run-at document-start
  9. // @version 0.4
  10. // ==/UserScript==
  11. function wHide() {
  12. var x11 = document.getElementsByClassName( "tactic-timer-container" );
  13. console.log( x11[0] );
  14. x11[0].setAttribute( "style" , "visibility: hidden !important" );
  15. }
  16. (function() {
  17. wHide();
  18. setTimeout( function() { wHide(); } , 1000 );
  19. setTimeout( function() { wHide(); } , 2000 );
  20. setTimeout( function() { wHide(); } , 3000 );
  21. setTimeout( function() { wHide(); } , 4000 );
  22. setTimeout( function() { wHide(); } , 5000 );
  23. })();