<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussions on scripts by sethaurus | Userscripts.org</title>
    <description>Recent posts on all scripts by sethaurus at userscripts.org</description>
    <link>http://userscripts.org/users/48324/scripts</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Reader update breaks scipt, replied by stardust69</title>
      <description>&lt;p&gt;as top&lt;/p&gt;</description>
      <pubDate>Sat, 24 Oct 2009 16:59:58 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38061:183116</guid>
      <author>stardust69</author>
      <link>http://userscripts.org/posts/183116</link>
    </item>
    <item>
      <title>Reader update breaks scipt, replied by Jashar</title>
      <description>&lt;p&gt;Confirming the same problem running Safari and Firefox within OS X - no favicons.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 18:16:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38061:182755</guid>
      <author>Jashar</author>
      <link>http://userscripts.org/posts/182755</link>
    </item>
    <item>
      <title>Reader update breaks scipt, replied by ocean8535</title>
      <description>&lt;p&gt;The latest google reader update on 10/22 seems to have broken the script. no favicons.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 17:59:16 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38061:182749</guid>
      <author>ocean8535</author>
      <link>http://userscripts.org/posts/182749</link>
    </item>
    <item>
      <title>no longer working?, replied by Bakahashi</title>
      <description>&lt;p&gt;It seems not to be working again.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Jun 2009 22:00:39 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:137341</guid>
      <author>Bakahashi</author>
      <link>http://userscripts.org/posts/137341</link>
    </item>
    <item>
      <title>no longer working?, replied by JS365</title>
      <description>&lt;p&gt;Thanks ludoo. Good job!
&lt;br /&gt;It works great with my FF 3.0.10.&lt;/p&gt;</description>
      <pubDate>Fri, 05 Jun 2009 22:19:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:129407</guid>
      <author>JS365</author>
      <link>http://userscripts.org/posts/129407</link>
    </item>
    <item>
      <title>no longer working?, replied by dengpeng</title>
      <description>&lt;p&gt;Yes, I tried FF 3.1beta2, it worked fine, but 3.0.7 didn't work... There are many users using 3.0.x, so henrah, please move on :)&lt;/p&gt;</description>
      <pubDate>Mon, 09 Mar 2009 14:05:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:101285</guid>
      <author>dengpeng</author>
      <link>http://userscripts.org/posts/101285</link>
    </item>
    <item>
      <title>no longer working?, replied by Lore</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I confirm that it doesn't work in Firefox 3.0.7 too, it's because of the document.querySelectorAll method, that AFAIK is not supported in FF 3.0.x but only in FF 3.1.
&lt;br /&gt;Is there any supported method (something like a getElementById) that does the same as querySelectorAll?
&lt;br /&gt;Thanks,
&lt;br /&gt;Lore&lt;/p&gt;</description>
      <pubDate>Sun, 08 Mar 2009 21:51:12 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:101151</guid>
      <author>Lore</author>
      <link>http://userscripts.org/posts/101151</link>
    </item>
    <item>
      <title>no longer working?, replied by willandbeyond</title>
      <description>&lt;p&gt;Hmm, not working on my end still.  Running Firefox 3.0.6.&lt;/p&gt;</description>
      <pubDate>Mon, 02 Mar 2009 21:17:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:99542</guid>
      <author>willandbeyond</author>
      <link>http://userscripts.org/posts/99542</link>
    </item>
    <item>
      <title>Update domain name regex, replied by sethaurus</title>
      <description>&lt;p&gt;This should no longer be an issue now that I have rewritten the script. Sorry it took so long to fix though, vshih!&lt;/p&gt;</description>
      <pubDate>Fri, 20 Feb 2009 21:15:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18496:97373</guid>
      <author>sethaurus</author>
      <link>http://userscripts.org/posts/97373</link>
    </item>
    <item>
      <title>no longer working?, replied by sethaurus</title>
      <description>&lt;p&gt;I've fixed it now! Let the celebrations commence. I changed the script before reading this topic, but thanks anyway for your suggestions, ludoo.&lt;/p&gt;</description>
      <pubDate>Fri, 20 Feb 2009 21:14:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:97372</guid>
      <author>sethaurus</author>
      <link>http://userscripts.org/posts/97372</link>
    </item>
    <item>
      <title>no longer working?, replied by heartilly</title>
      <description>&lt;p&gt;hey author..
&lt;br /&gt;fix it..&lt;/p&gt;

&lt;p&gt;i love your script so much&lt;/p&gt;</description>
      <pubDate>Tue, 03 Feb 2009 02:48:45 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:93695</guid>
      <author>heartilly</author>
      <link>http://userscripts.org/posts/93695</link>
    </item>
    <item>
      <title>no longer working?, replied by dengpeng</title>
      <description>&lt;p&gt;Thanks ludoo, it works fine!&lt;/p&gt;</description>
      <pubDate>Sat, 31 Jan 2009 01:46:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:93074</guid>
      <author>dengpeng</author>
      <link>http://userscripts.org/posts/93074</link>
    </item>
    <item>
      <title>no longer working?, replied by ludoo</title>
      <description>&lt;p&gt;Hi everybody,&lt;/p&gt;

&lt;p&gt;Have fast fix it :
&lt;br /&gt;Works under FF3.
&lt;br /&gt;This code could improve (img element creation/deletion)...&lt;/p&gt;

&lt;p&gt;Can be downloaded/installed &lt;a href=&quot;http://www.xeoos.fr/gmscripts/google_reader_show_feed_.user.js&quot;&gt;from my site&lt;/a&gt; or from &lt;a href=&quot;http://userscripts.org/scripts/show/41442&quot;&gt;my space&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LudoO&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;// ==UserScript==
&lt;br /&gt;// @name           Google Reader: Show Feed Favicons
&lt;br /&gt;// @author henrah / LudoO(xeoos.fr) 
&lt;br /&gt;// @namespace      http://henrah.googlepages.com
&lt;br /&gt;// @include        htt*://www.google.*/reader/view*
&lt;br /&gt;// ==/UserScript==&lt;/p&gt;

&lt;p&gt;var Favicons = {
&lt;br /&gt;	UNFIXED_ICON_XPATH: '//span[contains(@class,&quot;icon sub-icon&quot;)][not(@label)]',
&lt;br /&gt;	EXPORT_URL: '/reader/subscriptions/export',
&lt;br /&gt;	FAVICON_URL: ['http://', '/favicon.ico'],
&lt;br /&gt;	
&lt;br /&gt;	PARSE_DOMAIN: /:\/\/([\w\.]+)/,
&lt;br /&gt;	
&lt;br /&gt;	domains: {},
&lt;br /&gt;	cacheIcons: {},
&lt;br /&gt;	
&lt;br /&gt;	loadDomains: function () {
&lt;br /&gt;		var xhr = new XMLHttpRequest();
&lt;br /&gt;		xhr.open('get', this.EXPORT_URL, true);
&lt;br /&gt;		xhr.onload = function(){
&lt;br /&gt;			Favicons.setDomains(xhr.responseXML);
&lt;br /&gt;		};
&lt;br /&gt;		xhr.send('');
&lt;br /&gt;	},
&lt;br /&gt;	
&lt;br /&gt;	parseDomain: function(url) {
&lt;br /&gt;		var match = this.PARSE_DOMAIN.exec(url);
&lt;br /&gt;		return match &amp;amp;&amp;amp; match[1];
&lt;br /&gt;	},
&lt;br /&gt;	
&lt;br /&gt;	setDomains: function (opmlDoc) {
&lt;br /&gt;		var outline, i = 0,
&lt;br /&gt;			outlines = opmlDoc.getElementsByTagName('outline');
&lt;br /&gt;			
&lt;br /&gt;		while (outline = outlines[i++]) {
&lt;br /&gt;			if (! outline.hasAttribute('htmlUrl')) continue;
&lt;br /&gt;			var title = outline.getAttribute('title');
&lt;br /&gt;					
&lt;br /&gt;			if (title.length &gt; 24)
&lt;br /&gt;				title = title.substr(0, 21) + '...';
&lt;br /&gt;				
&lt;br /&gt;			this.domains[title] =
&lt;br /&gt;				this.parseDomain(outline.getAttribute('htmlUrl'))
&lt;br /&gt;				|| this.parseDomain(outline.getAttribute('xmlUrl'));
&lt;br /&gt;		}
&lt;br /&gt;		setInterval(function () {
&lt;br /&gt;			Favicons.fixAllIcons();
&lt;br /&gt;		}, 2000);
&lt;br /&gt;	},
&lt;br /&gt;	
&lt;br /&gt;	fixAllIcons: function () {
&lt;br /&gt;		var icon, i = 0, label;
&lt;br /&gt;		var uncorrectedIcons = document.evaluate(this.UNFIXED_ICON_XPATH, document, null, 6, null);
&lt;br /&gt;		while (icon = uncorrectedIcons.snapshotItem(i++)) {
&lt;br /&gt;			  label = icon.nextSibling.firstChild.textContent;
&lt;br /&gt;	        var urlIcon = this.FAVICON_URL.join(this.domains[label]);
&lt;br /&gt;	        var img = document.createElement('img');
&lt;br /&gt;	        icon.appendChild(img);
&lt;br /&gt;	        icon.setAttribute('label', label);
&lt;br /&gt;			img.setAttribute('style', 'display:none');
&lt;br /&gt;	        img.src = urlIcon;
&lt;br /&gt;	        
&lt;br /&gt;	        img.addEventListener(&quot;error&quot;, function(e){
&lt;br /&gt;			  e.target.parentNode.removeChild(e.target);
&lt;br /&gt;	        }, false);
&lt;br /&gt;	        
&lt;br /&gt;	        img.addEventListener(&quot;load&quot;, function(e){
&lt;br /&gt;			  var FAVICON_STYLE= ['background: url(', ');'];
&lt;br /&gt;	          e.target.parentNode.setAttribute('style', FAVICON_STYLE.join(e.target.src));
&lt;br /&gt;	          e.target.parentNode.removeChild(e.target);
&lt;br /&gt;	        }, false);
&lt;br /&gt;        
&lt;br /&gt;		}
&lt;br /&gt;	}
&lt;br /&gt;};&lt;/p&gt;

&lt;p&gt;Favicons.loadDomains();&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:08:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:92994</guid>
      <author>ludoo</author>
      <link>http://userscripts.org/posts/92994</link>
    </item>
    <item>
      <title>no longer working?, replied by dengpeng</title>
      <description>&lt;p&gt;I have the problem 2...&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jan 2009 12:58:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:92984</guid>
      <author>dengpeng</author>
      <link>http://userscripts.org/posts/92984</link>
    </item>
    <item>
      <title>no longer working?, replied by Julieee</title>
      <description>&lt;p&gt;Oh thank God I'm not the only one! I've been trying to fix it for hours now!&lt;/p&gt;

&lt;p&gt;Please update the code soon, I miss my little Favicons.&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jan 2009 08:58:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:92952</guid>
      <author>Julieee</author>
      <link>http://userscripts.org/posts/92952</link>
    </item>
    <item>
      <title>no longer working?, replied by ludoo</title>
      <description>&lt;p&gt;No, you're right !!
&lt;br /&gt;Image are no more &lt;code&gt;&amp;lt;img src/&amp;gt;&lt;/code&gt; but background-image instead.
&lt;br /&gt;Code must be reviewed.
&lt;br /&gt;Adding a img src and inside &lt;code&gt;&amp;lt;span class=&quot;icon sub-icon&quot;&amp;gt;&lt;/code&gt; seems to be ok.&lt;/p&gt;

&lt;p&gt;I'm waiting the update. There will be an update, isn't it ??&lt;/p&gt;

&lt;p&gt;Good job, i really like this script !&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jan 2009 08:32:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:92950</guid>
      <author>ludoo</author>
      <link>http://userscripts.org/posts/92950</link>
    </item>
    <item>
      <title>no longer working?, replied by alala</title>
      <description>&lt;p&gt;i really like this script. has it stopped working or is it just me?&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jan 2009 06:23:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21005:92943</guid>
      <author>alala</author>
      <link>http://userscripts.org/posts/92943</link>
    </item>
    <item>
      <title>Update domain name regex, replied by vshih</title>
      <description>&lt;p&gt;I suggest updating the PARSE_DOMAIN regex to:&lt;/p&gt;

&lt;p&gt;/:\/\/([a-z\d-.]+)/&lt;/p&gt;

&lt;p&gt;as I have some feeds which have numbers in their domain name, which borks.  In fact on my system, it borks my entire Google Reader session by browsing to the Google search results of the bad URL.&lt;/p&gt;</description>
      <pubDate>Tue, 02 Dec 2008 19:20:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18496:81004</guid>
      <author>vshih</author>
      <link>http://userscripts.org/posts/81004</link>
    </item>
    <item>
      <title>Archived Comments, replied by capi /. etheriel</title>
      <description>&lt;p&gt;how many times does it request the favicons form servers? it seems to be refreshing all the time...&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 13:32:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45082</guid>
      <author>capi /. etheriel</author>
      <link>http://userscripts.org/posts/45082</link>
    </item>
    <item>
      <title>Archived Comments, replied by harryxu</title>
      <description>&lt;p&gt;So great!  I love it so much!!&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:40:24 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45083</guid>
      <author>harryxu</author>
      <link>http://userscripts.org/posts/45083</link>
    </item>
    <item>
      <title>Archived Comments, replied by Cryptonium</title>
      <description>&lt;p&gt;Great script, thanks!&lt;/p&gt;

&lt;p&gt;It added the only thing I missed when I left Bloglines.&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jul 2008 13:42:25 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45084</guid>
      <author>Cryptonium</author>
      <link>http://userscripts.org/posts/45084</link>
    </item>
    <item>
      <title>Archived Comments, replied by Chorizotarian</title>
      <description>&lt;p&gt;This is sweet!&lt;/p&gt;</description>
      <pubDate>Wed, 02 Jul 2008 07:25:35 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45085</guid>
      <author>Chorizotarian</author>
      <link>http://userscripts.org/posts/45085</link>
    </item>
    <item>
      <title>Archived Comments, replied by Peternl</title>
      <description>&lt;p&gt;Great script thank you.&lt;/p&gt;

&lt;p&gt;But I have the same problem with it as dupola.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Jun 2008 16:11:10 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45086</guid>
      <author>Peternl</author>
      <link>http://userscripts.org/posts/45086</link>
    </item>
    <item>
      <title>Archived Comments, replied by dupola</title>
      <description>&lt;p&gt;Well, one question,I see someone don't use the normal URL for favicon file,somebody's like this:
&lt;br /&gt;&amp;lt;link href=&quot;http://domain.com/images/favicon.ico&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I see this script could not get the right file,now there still show the default icon by Google Reader.&lt;/p&gt;

&lt;p&gt;Then, I see someone's icon file is not  favicon.ico,they use favicon.gif etc.&lt;/p&gt;

&lt;p&gt;Can you fix the 2 problem?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
      <pubDate>Thu, 05 Jun 2008 20:50:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45087</guid>
      <author>dupola</author>
      <link>http://userscripts.org/posts/45087</link>
    </item>
    <item>
      <title>Archived Comments, replied by dupola</title>
      <description>&lt;p&gt;Great! I really like it.&lt;/p&gt;

&lt;p&gt;Thanks very much!&lt;/p&gt;</description>
      <pubDate>Thu, 05 Jun 2008 20:03:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13649:45088</guid>
      <author>dupola</author>
      <link>http://userscripts.org/posts/45088</link>
    </item>
  </channel>
</rss>
