Created
July 14, 2010 15:20
-
-
Save masnick/475541 to your computer and use it in GitHub Desktop.
Add favicons to Basecamp
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 Basecamp Favicons | |
// @namespace http://masnick.org/userscript | |
// @description Adds a favicon to Basecamp | |
// @include http://*.basecamphq.com/* | |
// @include https://*.basecamphq.com/* | |
// ==/UserScript== | |
var favicon_link_html = document.createElement('link'); | |
favicon_link_html.rel = 'icon'; | |
favicon_link_html.href = 'http://dl.dropbox.com/u/634/fluid_basecamp_icon.png'; | |
favicon_link_html.type = 'image/png'; | |
try { | |
document.getElementsByTagName('head')[0].appendChild( favicon_link_html ); | |
} | |
catch(e) { } |
save as something.user.js and then drag to chrome icon...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: http://www.robbyonrails.com/