Advertisement
Guest User

Untitled

a guest
Apr 1st, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. // ==UserScript==
  2. // @name April Un-Fool
  3. // @namespace http://use.i.E.your.homepage/
  4. // @version 0.1
  5. // @description Fix buildbot page
  6. // @match https://chromium-build.appspot.com/p/chromium/console
  7. // ==/UserScript==
  8.  
  9. function addGlobalStyle(css) {
  10. var head, style;
  11. head = document.getElementsByTagName('head')[0];
  12. if (!head) { return; }
  13. style = document.createElement('style');
  14. style.type = 'text/css';
  15. style.innerHTML = css;
  16. head.appendChild(style);
  17. }
  18.  
  19. addGlobalStyle('td.DevStatus { background-color: #eee !important; }');
  20. addGlobalStyle('td.DevSlave { background-color: #aaa !important; }');
  21. addGlobalStyle('td.DevName { background-color: #aaa !important; }');
  22. addGlobalStyle('td.DevRev { background-color: #aaa !important; }');
  23. addGlobalStyle('body { background: #fff !important; }');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement