Skip to content

Instantly share code, notes, and snippets.

@fearphage
Created January 12, 2010 14:50
Show Gist options
  • Select an option

  • Save fearphage/275252 to your computer and use it in GitHub Desktop.

Select an option

Save fearphage/275252 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Helvetireader
// @description Helvetireader style for Google Reader
// @include http*://*.google.*/reader/view*
// @author Helvetireader by Jon Hicks (http://www.hicksdesign.co.uk) with favicon override by MkFly
// ==/UserScript==
(function(doc) {
var head = doc.getElementsByTagName('head')[0]
,favvy = head.appendChild(doc.createElement('link'))
,cssNode = head.appendChild(doc.createElement('link'))
;
favvy.setAttribute('type', 'image/x-icon');
favvy.setAttribute('rel', 'shortcut icon');
favvy.setAttribute('href', 'http://www.helvetireader.com/favicon.png');
cssNode.setAttribute('type', 'text/css');
cssNode.setAttribute('rel', 'stylesheet');
cssNode.setAttribute('href', 'http://www.helvetireader.com/css/helvetireader.css');
cssNode.setAttribute('media', 'screen');
cssNode.setAttribute('title', 'dynamicLoadedSheet');
})(this.document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment