Created
January 12, 2010 14:50
-
-
Save fearphage/275252 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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