Advertisement
Guest User

Untitled

a guest
Mar 26th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name Funkyfish Chat
  3. // @namespace funkyfish.nl
  4. // @version 0.1
  5. // @description Funkyfish chat
  6. // @match https://www.funkyfish.nl/chatrooms/*
  7. // @require http://code.jquery.com/jquery-latest.js
  8. // ==/UserScript==
  9.  
  10.  
  11. addGlobalStyle('.square50 { height: 30px; width: 30px; !important; }');
  12. addGlobalStyle('div.paddingContainer.font_default_size.width100P { line-height: 14px; font-size:14px; !important; }');
  13. addGlobalStyle('div#contentContainer { height:1000px; !important; }');
  14. addGlobalStyle('div#chat-container { height:950px; !important; }');
  15.  
  16. function addGlobalStyle(css) {
  17.     var head, style;
  18.     head = document.getElementsByTagName('head')[0];
  19.     if (!head) { return; }
  20.     style = document.createElement('style');
  21.     style.type = 'text/css';
  22.     style.innerHTML = css;
  23.     head.appendChild(style);
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement