Last active
May 9, 2016 17:35
-
-
Save sprngr/9595cf989d2573992c49e94ef4efe774 to your computer and use it in GitHub Desktop.
BringBackTheBlue - Tamper Monkey script to add the old link colors back to google. Probably overkill and no way efficient.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BringBackTheBlue | |
// @version 0.1 | |
// @description Blue it up | |
// @author sprngr | |
// @match https://www.google.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
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('a:link, .w, #prs a:visited, #prs a:active, .q:active, .q:visited, .kl:active, .tbotu {color: #1a0dab;}'); | |
addGlobalStyle('.mblink:visited, a:visited {color: #609;}'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment