Skip to content

Instantly share code, notes, and snippets.

@GTHBNLK
Last active April 15, 2016 14:59
Show Gist options
  • Select an option

  • Save GTHBNLK/2fbf554bfb8be665fa7281a1d4577c04 to your computer and use it in GitHub Desktop.

Select an option

Save GTHBNLK/2fbf554bfb8be665fa7281a1d4577c04 to your computer and use it in GitHub Desktop.
Styles: Google Search Results
// ==UserScript==
// @name Styles: Google Search Results
// @version 0.6.0
// @description ...
// @author GHNalk2016
// @include *://*.google.*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @grant GM_addStyle
// @updateURL https://gist.githubusercontent.com/GHNalk2016/2fbf554bfb8be665fa7281a1d4577c04/raw/styles-google-search-results.meta.js
// @downloadURL https://gist.githubusercontent.com/GHNalk2016/2fbf554bfb8be665fa7281a1d4577c04/raw/styles-google-search-results.user.js
// ==/UserScript==
// ==UserScript==
// @name Styles: Google Search Results
// @version 0.6.0
// @description ...
// @author GHNalk2016
// @include *://*.google.*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @grant GM_addStyle
// @updateURL https://gist.githubusercontent.com/GHNalk2016/2fbf554bfb8be665fa7281a1d4577c04/raw/styles-google-search-results.meta.js
// @downloadURL https://gist.githubusercontent.com/GHNalk2016/2fbf554bfb8be665fa7281a1d4577c04/raw/styles-google-search-results.user.js
// ==/UserScript==
// Help: http://stackoverflow.com/questions/22020833/how-do-i-use-greasemonkey-and-jquery-to-hide-an-html-element-with-a-certain-class
addGlobalStyle('._Tib, ._Tib a.fl { color: crimson !important; }');
//addGlobalStyle('._Tib, ._Tib a.fl { color: orangered !important; }');
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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment