StreamHTML chatsize fix

try to take over the world!

  1. // ==UserScript==
  2. // @name StreamHTML chatsize fix
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author _hishe
  7. // @match http://streamhtml5.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. function addGlobalStyle(css) {
  13. var head, style;
  14. head = document.getElementsByTagName('head')[0];
  15. if (!head) { return; }
  16. style = document.createElement('style');
  17. style.type = 'text/css';
  18. style.innerHTML = css;
  19. head.appendChild(style);
  20. }
  21. addGlobalStyle('.video-container { width: 84% !important; }');
  22. addGlobalStyle('.chat-container { width: 16% !important; }');
  23. })();