Loading

CSS tampermonkey

  1. // ==UserScript==
  2. // @name         CSS overide for IS
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  zelvicka je oskliva
  6. // @author       MZ
  7. // @match        https://is-test.vshosting.cz/tickets/auto-assign
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13. // Your code here...
  14. function addCss(cssString) {
  15. var head = document.
  16. getElementsByTagName('head')[0];
  17. var newCss = document.createElement('style');
  18. newCss.type = "text/css";
  19. newCss.innerHTML = cssString;
  20. head.appendChild(newCss);
  21. }
  22. addCss (
  23. // '.__free-time { background: #808081 ! important; }'
  24. '.__free-time { background: #06455b ! important; }'
  25.  
  26. );
  27. addCss (
  28. // '.__turtle-relax { width: 280px !important; background: url(http://ispconfig.rootik.cz/sleepycat.gif) center center/cover no-repeat !important; }'
  29. '.__turtle-relax { width: 280px !important; background: url(http://sniffer.vshosting.cz/nyan.gif) center center/cover no-repeat !important; }'
  30. );
  31.  
  32. })();