Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name April Un-Fool
- // @namespace http://use.i.E.your.homepage/
- // @version 0.1
- // @description Fix buildbot page
- // @match https://chromium-build.appspot.com/p/chromium/console
- // ==/UserScript==
- function addGlobalStyle(css) {
- var head, style;
- head = document.getElementsByTagName('head')[0];
- if (!head) { return; }
- style = document.createElement('style');
- style.type = 'text/css';
- style.innerHTML = css;
- head.appendChild(style);
- }
- addGlobalStyle('td.DevStatus { background-color: #eee !important; }');
- addGlobalStyle('td.DevSlave { background-color: #aaa !important; }');
- addGlobalStyle('td.DevName { background-color: #aaa !important; }');
- addGlobalStyle('td.DevRev { background-color: #aaa !important; }');
- addGlobalStyle('body { background: #fff !important; }');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement