Created
January 12, 2009 22:15
-
-
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)
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 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