<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Gmail Unread Message Count in Favicon | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/39432</link>
    <description>Recent comments on userscript: Gmail Unread Message Count in Favicon</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Script not working?, replied by Levi Wallach</title>
      <description>&lt;p&gt;Still not working for me.  All I see is the red M.  I'm using Google Apps hosted domain, FF 3.5.5, Faviconize.  It was working fine a week ago or so, and I haven't done anything, so I'm assuming it's the Google DOM issue, but I don't even see a zero...&lt;/p&gt;</description>
      <pubDate>Wed, 25 Nov 2009 17:35:37 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:193245</guid>
      <author>Levi Wallach</author>
      <link>http://userscripts.org/posts/193245</link>
    </item>
    <item>
      <title>Script not working?, replied by Eric Bogs</title>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I've just uploaded a new version (1.0.5) which fixes the unread count again.  &lt;/p&gt;

&lt;p&gt;Thanks to Peter for bringing this to my attention!&lt;/p&gt;

&lt;p&gt;-Eric&lt;/p&gt;</description>
      <pubDate>Wed, 25 Nov 2009 15:58:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:193227</guid>
      <author>Eric Bogs</author>
      <link>http://userscripts.org/posts/193227</link>
    </item>
    <item>
      <title>Script not working?, replied by Peter Wooley</title>
      <description>&lt;p&gt;Hey Eric. Gmail changed its IDs again.&lt;/p&gt;

&lt;p&gt;I've been using the 'n0' class to reference the Inbox node for a while now and it appears to be holding steady. I have no idea when they'll refresh it, but in the mean time, I think you can change line 39 from:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;this.inboxSpan_ = frame.contentWindow.document.getElementById(':r3').getElementsByTagName('a')[0];&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;this.inboxSpan_ = frame.contentWindow.document.getElementsByClassName('n0')[0];&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And the script will be back up and running. Here's to hoping Gmail can settle on their DOM for, at least, a little while.&lt;/p&gt;</description>
      <pubDate>Wed, 25 Nov 2009 15:37:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:193223</guid>
      <author>Peter Wooley</author>
      <link>http://userscripts.org/posts/193223</link>
    </item>
    <item>
      <title>Script not working?, replied by Levi Wallach</title>
      <description>&lt;p&gt;It's odd, my laptop at work this works fine with - even with 1.02.  Running the same version of FF.  The only difference is Windows Vista Business vs Home Premium...&lt;/p&gt;</description>
      <pubDate>Fri, 20 Nov 2009 02:39:54 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:191670</guid>
      <author>Levi Wallach</author>
      <link>http://userscripts.org/posts/191670</link>
    </item>
    <item>
      <title>Script not working?, replied by Drug0y</title>
      <description>&lt;p&gt;xp sp3 ff 3.5.5: not working for me&lt;/p&gt;</description>
      <pubDate>Thu, 19 Nov 2009 01:54:21 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:191307</guid>
      <author>Drug0y</author>
      <link>http://userscripts.org/posts/191307</link>
    </item>
    <item>
      <title>Script not working?, replied by Levi Wallach</title>
      <description>&lt;p&gt;Eric, I am now using your most recent version (1.04) but still not seeing any count, just the red M gmail favicon.  I'm running FF 3.5.5 on Windows Vista...&lt;/p&gt;</description>
      <pubDate>Wed, 18 Nov 2009 19:08:08 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:191196</guid>
      <author>Levi Wallach</author>
      <link>http://userscripts.org/posts/191196</link>
    </item>
    <item>
      <title>Script not working?, replied by Eric Bogs</title>
      <description>&lt;p&gt;Something along those lines seems to be working, thanks for the lead! :)&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 20:50:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:190905</guid>
      <author>Eric Bogs</author>
      <link>http://userscripts.org/posts/190905</link>
    </item>
    <item>
      <title>Script not working?, replied by Peter Wooley</title>
      <description>&lt;p&gt;Wow, feel free to scratch that. :-p Had to go another way and access based on the class that's been stable for the last few months:&lt;/p&gt;

&lt;p&gt;var frame = top.document.getElementById('canvas_frame')
&lt;br /&gt;if(frame) {
&lt;br /&gt;	var nav = frame.contentWindow.document.getElementsByClassName('n0');
&lt;br /&gt;}&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 19:27:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:190872</guid>
      <author>Peter Wooley</author>
      <link>http://userscripts.org/posts/190872</link>
    </item>
    <item>
      <title>Script not working?, replied by Peter Wooley</title>
      <description>&lt;p&gt;Hey Eric,
&lt;br /&gt;I'm not sure I can completely trust this, but my current workaround is switching my call to getNavPaneElement() on the Gmail API to:&lt;/p&gt;

&lt;p&gt;var nav = top.document.getElementById('canvas_frame').contentWindow.document.getElementById(':in');&lt;/p&gt;

&lt;p&gt;I know trusting the ':in' id is a bit dangerous, but without that hook, I'm not sure what else we can do.&lt;/p&gt;

&lt;p&gt;If you find a safer way, let me know!&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 19:03:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:190867</guid>
      <author>Peter Wooley</author>
      <link>http://userscripts.org/posts/190867</link>
    </item>
    <item>
      <title>Script not working?, replied by Matt Clark</title>
      <description>&lt;p&gt;I'm on Win 7 and FF 3.5.5 and the script doesn't seem to be working.  I'm using it via Better Gmail 2 which has a problem report here: &lt;a href=&quot;http://groups.google.com/group/better-gmail-2-firefox-extension/browse_thread/thread/52e3d39b11cc5f6f&quot;&gt;http://groups.google.com/group/better-gmail-2-f...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any help is appreciated.&lt;/p&gt;

&lt;p&gt;Thanks!
&lt;br /&gt;Matt&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:35:19 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39730:190834</guid>
      <author>Matt Clark</author>
      <link>http://userscripts.org/posts/190834</link>
    </item>
    <item>
      <title>Opera support?, replied by michoch</title>
      <description>&lt;p&gt;Hi,
&lt;br /&gt;                    
&lt;br /&gt;I managed to run this in Opera using Greasemonkey functions emulator (&lt;a href=&quot;http://www.howtocreate.co.uk/operaStuff/userjs/aagmfunctions.js&quot;&gt;http://www.howtocreate.co.uk/operaStuff/userjs/...&lt;/a&gt;) and giving it few changes, ie. changing load listener to:
&lt;br /&gt;&lt;pre&gt;window.addEventListener('load', function() {
  if (window.gmonkey) { // Version 2 Method, using Google's API
    window.gmonkey.load('1.0', function(gmail) {
      initialize(gmail);
    });
  }
}, true);&lt;/pre&gt;
&lt;br /&gt;                    
&lt;br /&gt;and changing this.getInboxSpan_ and this.poll_ functions to:
&lt;br /&gt;&lt;pre&gt;this.getInboxSpan_ = function() {
  return (typeof gmail != 'undefined') ? gmail.getNavPaneElement().getElementsByTagName('a')[0] : 0;
}
                      
this.poll_ = function() {
  if (self.getInboxSpan_() != 0) {
    self.checkCount_(self.getInboxSpan_().textContent);
  }
}&lt;/pre&gt;
&lt;br /&gt;                    
&lt;br /&gt;                    
&lt;br /&gt;Although after some time (don't know exactly - approx. 30-60 minutes) it stops working (probably leaving no js error trace) and Gmail needs reload in order to work again.&lt;/p&gt;</description>
      <pubDate>Sun, 06 Sep 2009 17:27:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34061:166641</guid>
      <author>michoch</author>
      <link>http://userscripts.org/posts/166641</link>
    </item>
    <item>
      <title>Opera support?, replied by michoch</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;seconded!&lt;/p&gt;

&lt;p&gt;Thanks in advance.&lt;/p&gt;</description>
      <pubDate>Sun, 06 Sep 2009 10:18:20 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34061:166558</guid>
      <author>michoch</author>
      <link>http://userscripts.org/posts/166558</link>
    </item>
    <item>
      <title>Opera support?, replied by rdsu</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Can you also support Opera browser?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Sat, 29 Aug 2009 00:56:29 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34061:163823</guid>
      <author>rdsu</author>
      <link>http://userscripts.org/posts/163823</link>
    </item>
    <item>
      <title>No &amp;quot;0&amp;quot; for zero, replied by Ronnen</title>
      <description>&lt;p&gt;Try other script, works great for me. (tho this one is amazing too)
&lt;br /&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/24430&quot;&gt;http://userscripts.org/scripts/show/24430&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 25 Aug 2009 11:50:41 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29578:162437</guid>
      <author>Ronnen</author>
      <link>http://userscripts.org/posts/162437</link>
    </item>
    <item>
      <title>Broken in Firefox 3.5, replied by Levi Wallach</title>
      <description>&lt;p&gt;Ok, well, I finally figured out the issue.  Apparently another firefox add-on that I use, Favicon Picker, was causing incompatibility with this script.  Once I disable that add-on, the script works fine.  Not ideal, but my main use for the Favicon picker is just to create custom favicons for my bookmarks on the FF toolbar.  When I disable the add-on, these favicons remain, so you just need to enable it for when you want to add/edit these and then re-disable it afterwards.&lt;/p&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:57:49 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30707:146483</guid>
      <author>Levi Wallach</author>
      <link>http://userscripts.org/posts/146483</link>
    </item>
    <item>
      <title>Broken in Firefox 3.5, replied by Levi Wallach</title>
      <description>&lt;p&gt;This is one of my favorite greasemonkey scripts but it does not want to work in Firefox 3.5.  It shows a count, but the count is not accurate.&lt;/p&gt;</description>
      <pubDate>Mon, 13 Jul 2009 13:51:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30707:145697</guid>
      <author>Levi Wallach</author>
      <link>http://userscripts.org/posts/145697</link>
    </item>
    <item>
      <title>No &amp;quot;0&amp;quot; for zero, replied by seanSF</title>
      <description>&lt;p&gt;I'm finding the green &quot;0&quot; that's placed when there are no unread items a bit distracting. Is there anyway to not show anything but the normal Gmail icon when the inbox is all read? I tried messing with the &quot;index&quot; variable to no success. I also thought maybe you could wrap an &quot;if-else&quot; around the statement that sets the icon but I didn't see a variable in the array for a base icon.&lt;/p&gt;</description>
      <pubDate>Thu, 25 Jun 2009 16:19:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29578:138264</guid>
      <author>seanSF</author>
      <link>http://userscripts.org/posts/138264</link>
    </item>
    <item>
      <title>Integration into Firefox Addon, replied by Michael A. Balazs</title>
      <description>&lt;p&gt;Hi Eric, &lt;/p&gt;

&lt;p&gt;Can you please contact me privately at &lt;a href=&quot;mailto:Michael.Balazs@gmail.com&quot;&gt;Michael.Balazs@gmail.com&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Michael&lt;/p&gt;</description>
      <pubDate>Thu, 04 Jun 2009 20:29:57 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:28208:129024</guid>
      <author>Michael A. Balazs</author>
      <link>http://userscripts.org/posts/129024</link>
    </item>
    <item>
      <title>Icon Doesn't Update Fast Enough, replied by Eric Bogs</title>
      <description>&lt;p&gt;Hi Eitan,&lt;/p&gt;

&lt;p&gt;Does the Favicon eventually update?  How long are we talking here?  1 second?  10 seconds?&lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Eric&lt;/p&gt;</description>
      <pubDate>Mon, 11 May 2009 13:00:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:26274:120178</guid>
      <author>Eric Bogs</author>
      <link>http://userscripts.org/posts/120178</link>
    </item>
    <item>
      <title>Icon Doesn't Update Fast Enough, replied by Eitan</title>
      <description>&lt;p&gt;Hi Eric,&lt;/p&gt;

&lt;p&gt;Great work on the script! The way I use my inbox is that I label and archive everything and then I star the tasks that I need to deal with. So after I've cleared out my inbox, the icon doesn't update to 0. Is there a way to fix this?&lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Eitan&lt;/p&gt;</description>
      <pubDate>Wed, 06 May 2009 15:15:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:26274:118388</guid>
      <author>Eitan</author>
      <link>http://userscripts.org/posts/118388</link>
    </item>
    <item>
      <title>Gmail Tasks, replied by jksk</title>
      <description>&lt;p&gt;This is a fantastic script.&lt;/p&gt;

&lt;p&gt;Unfortunately, it's not compatible with Tasks from Gmail Labs. If I open Tasks or open a new Gmail tab with Tasks already open or minimized, the favicon updates as normal, but immediately reverts to the default icon (i.e., not the gmail icon, the default firefox icon). As soon as I close Tasks and reload Gmail, the favicon is persistent again. It's reproducible every time, though I haven't tried removing addons and such.&lt;/p&gt;</description>
      <pubDate>Mon, 20 Apr 2009 21:55:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:25243:113005</guid>
      <author>jksk</author>
      <link>http://userscripts.org/posts/113005</link>
    </item>
    <item>
      <title>Change Icon, replied by Jeffrey Lo</title>
      <description>&lt;p&gt;Hey Eric,&lt;/p&gt;

&lt;p&gt;This is a great script and has proved itself to work throughout the many iterations of Gmail's changes.&lt;/p&gt;

&lt;p&gt;I was wondering if it'd be possible to change the orange chat icon to something a little more noticeable. The contrast and difference between the red and orange is too small for me to notice.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;Jeffrey&lt;/p&gt;</description>
      <pubDate>Wed, 01 Apr 2009 03:42:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:24166:107282</guid>
      <author>Jeffrey Lo</author>
      <link>http://userscripts.org/posts/107282</link>
    </item>
    <item>
      <title>'easily' see??, replied by Buggy</title>
      <description>&lt;p&gt;fuck you, asshole&lt;/p&gt;</description>
      <pubDate>Sun, 22 Mar 2009 17:42:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:22639:104703</guid>
      <author>Buggy</author>
      <link>http://userscripts.org/posts/104703</link>
    </item>
    <item>
      <title>Only one icon if two Gmail accounts open, replied by Eric Bogs</title>
      <description>&lt;p&gt;New version makes it much easier to customize domain-color mappings.&lt;/p&gt;</description>
      <pubDate>Sat, 14 Mar 2009 20:02:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:22492:102697</guid>
      <author>Eric Bogs</author>
      <link>http://userscripts.org/posts/102697</link>
    </item>
    <item>
      <title>Version 1.0 release 2009-03-14, replied by Eric Bogs</title>
      <description>&lt;p&gt;New in v1.0 [2009-03-14]:&lt;/p&gt;

&lt;p&gt;&lt;ul&gt;&lt;li&gt;Envelope icon flashes orange when you have a new chat message.
    &lt;/li&gt;&lt;li&gt;More granular message count: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20+, 50+, 99+
    &lt;/li&gt;&lt;li&gt;New green envelope icon color option.
    &lt;/li&gt;&lt;li&gt;Easier to customize the envelope colors for your hosted (Google Apps for my Domain) email accounts. 3 different envelope icon colors supported (red, green, and blue). Instructions on lines 14-18 of script.
    &lt;/li&gt;&lt;li&gt;Easier to customize polling interval if you encounter performance problems (default to 500ms). Instructions on line 22 of script.
&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 14 Mar 2009 19:59:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:23198:102694</guid>
      <author>Eric Bogs</author>
      <link>http://userscripts.org/posts/102694</link>
    </item>
  </channel>
</rss>
