CryptoWatch Hide Logo

Hide the logo on CryptoWatch site for bigger view

  1. // ==UserScript==
  2. // @name CryptoWatch Hide Logo
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Hide the logo on CryptoWatch site for bigger view
  6. // @author Nobakab
  7. // @match https://cryptowatch.net/?chart*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. function addGlobalStyle(css) {
  16. var head, style;
  17. head = document.getElementsByTagName('head')[0];
  18. if (!head) { return; }
  19. style = document.createElement('style');
  20. style.type = 'text/css';
  21. style.innerHTML = css;
  22. head.appendChild(style);
  23. }
  24. function addExternalScript(js) {
  25. var head, script;
  26. head = document.getElementsByTagName('head')[0];
  27. if (!head) { return; }
  28. script = document.createElement('script');
  29. script.type = 'text/javascript';
  30. script.innerHTML = js;
  31. head.appendChild(script);
  32. }
  33.  
  34. addGlobalStyle('div#logo {display: none}');
  35. })();