Skip to content

Instantly share code, notes, and snippets.

@robbyrussell
Created January 12, 2009 22:15
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robbyrussell/46193 to your computer and use it in GitHub Desktop.
Save robbyrussell/46193 to your computer and use it in GitHub Desktop.
Greasemonkey script to change the favicon for Google to a old and improved (and less colorful one)
// ==UserScript==
// @name BetterFavicon
// @namespace planetargon
// @description A better favicon for google
// @include http://*.google.com/
// ==/UserScript==
var favicon_link_html = document.createElement('link');
favicon_link_html.rel = 'icon';
favicon_link_html.href = 'http://robbyonrails.com/files/google-favicon.ico';
favicon_link_html.type = 'image/x-icon';
try {
document.getElementsByTagName('head')[0].appendChild( favicon_link_html );
}
catch(e) { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment