Skip to content

Instantly share code, notes, and snippets.

@robbyrussell
Created November 10, 2008 20:19
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 robbyrussell/23615 to your computer and use it in GitHub Desktop.
Save robbyrussell/23615 to your computer and use it in GitHub Desktop.
A few gresemonkey scripts to add favicons to 37signals apps
// ==UserScript==
// @name Basecamp Favicons
// @namespace http://robbyonrails.com/greasemonkey
// @description Adds a favicon to Basecamp
// @include http://*.projectpath.com/*
// @include http://*.updatelog.com/*
// @include http://*.clientsection.com/*
// @include http://*.seework.com/*
// @include http://*.grouphub.com/*
// @include https://planetargon.grouphub.com/*
// ==/UserScript==
var favicon_link_html = document.createElement('link');
favicon_link_html.rel = 'icon';
favicon_link_html.href = 'http://planetargon.com/files/basecamp-favicon.ico';
favicon_link_html.type = 'image/x-icon';
try {
document.getElementsByTagName('head')[0].appendChild( favicon_link_html );
}
catch(e) { }
// ==UserScript==
// @name Highrise Favicons
// @namespace http://robbyonrails.com/greasemonkey
// @description Add a favicon to Highrise
// @include https://*.highrisehq.com/*
// ==/UserScript==
var favicon_link_html = document.createElement('link');
favicon_link_html.rel = 'icon';
favicon_link_html.href = 'http://planetargon.com/files/highrise-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