Skip to content

Instantly share code, notes, and snippets.

@masnick
Created July 14, 2010 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masnick/475541 to your computer and use it in GitHub Desktop.
Save masnick/475541 to your computer and use it in GitHub Desktop.
Add favicons to Basecamp
// ==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) { }
@masnick
Copy link
Author

masnick commented Jul 14, 2010

@masnick
Copy link
Author

masnick commented Jul 19, 2010

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