<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Chromatabs 2</title>
	<atom:link href="http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/</link>
	<description>The odd parity bit</description>
	<lastBuildDate>Sat, 17 Oct 2009 05:26:38 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gary Calpo</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-38470</link>
		<dc:creator>Gary Calpo</dc:creator>
		<pubDate>Wed, 09 Jul 2008 06:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-38470</guid>
		<description>The beauty of Firefox extensions is that for the most part, the source is already included!

That said, I updated Chromatabs myself to work with Firefox 3 :)

Please give it a try and let me know how it works.  The feedback so far has been very positive.

https://addons.mozilla.org/en-US/firefox/addon/8004

My ChromaTabs Plus homepage: http://garycalpo.wordpress.com/chromatabs-plus/</description>
		<content:encoded><![CDATA[<p>The beauty of Firefox extensions is that for the most part, the source is already included!</p>
<p>That said, I updated Chromatabs myself to work with Firefox 3 :)</p>
<p>Please give it a try and let me know how it works.  The feedback so far has been very positive.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/8004" rel="nofollow">https://addons.mozilla.org/en-US/firefox/addon/8004</a></p>
<p>My ChromaTabs Plus homepage: <a href="http://garycalpo.wordpress.com/chromatabs-plus/" rel="nofollow">http://garycalpo.wordpress.com/chromatabs-plus/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-38264</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 04 Jul 2008 13:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-38264</guid>
		<description>Please, please, please change your decision not to update Chromatabs for Firefox 3. At the very least please release your source so another programmer can adapt it.</description>
		<content:encoded><![CDATA[<p>Please, please, please change your decision not to update Chromatabs for Firefox 3. At the very least please release your source so another programmer can adapt it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yorf feix</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-38120</link>
		<dc:creator>yorf feix</dc:creator>
		<pubDate>Tue, 01 Jul 2008 07:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-38120</guid>
		<description>I check every day to see if there is a version for ff3. what is the problem? 

please....

thanks</description>
		<content:encoded><![CDATA[<p>I check every day to see if there is a version for ff3. what is the problem? </p>
<p>please&#8230;.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-37760</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Mon, 23 Jun 2008 07:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-37760</guid>
		<description>Please refresh Chromatabs for compatibility with FireFox 3.</description>
		<content:encoded><![CDATA[<p>Please refresh Chromatabs for compatibility with FireFox 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nevyan Neykov</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-24052</link>
		<dc:creator>Nevyan Neykov</dc:creator>
		<pubDate>Mon, 04 Feb 2008 06:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-24052</guid>
		<description>Perhaps white-fading gradient would be more suitable for the non focused neighbour tabs.</description>
		<content:encoded><![CDATA[<p>Perhaps white-fading gradient would be more suitable for the non focused neighbour tabs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: None</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-22289</link>
		<dc:creator>None</dc:creator>
		<pubDate>Fri, 11 Jan 2008 17:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-22289</guid>
		<description>hey can i make a suggestion,

how about getting this to recognize local addresses, as i store my java api  docs on the local hdd, no color is shown for them which is slightly disappointing.

thanks</description>
		<content:encoded><![CDATA[<p>hey can i make a suggestion,</p>
<p>how about getting this to recognize local addresses, as i store my java api  docs on the local hdd, no color is shown for them which is slightly disappointing.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Coppenbarger</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-17808</link>
		<dc:creator>Chris Coppenbarger</dc:creator>
		<pubDate>Thu, 01 Nov 2007 13:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-17808</guid>
		<description>Can&#039;t seem to get it to work at all.

Using Firefox 2.0.0.8 with Default Theme. I am not using TMP, so that&#039;s not the problem.

Extensions:
Chromatab 2.0
Colorzilla
Web Developer Toolbar
Firebug
Foxmarks Bookmark Synchronizer
FoxyTunes
Google Toolbar
HTML Validator
IETab
ShowIP
SnapShots
Talkback
VideoDownloader
YSlow
Zoho Notebook Helper
Thoughts?</description>
		<content:encoded><![CDATA[<p>Can&#8217;t seem to get it to work at all.</p>
<p>Using Firefox 2.0.0.8 with Default Theme. I am not using TMP, so that&#8217;s not the problem.</p>
<p>Extensions:<br />
Chromatab 2.0<br />
Colorzilla<br />
Web Developer Toolbar<br />
Firebug<br />
Foxmarks Bookmark Synchronizer<br />
FoxyTunes<br />
Google Toolbar<br />
HTML Validator<br />
IETab<br />
ShowIP<br />
SnapShots<br />
Talkback<br />
VideoDownloader<br />
YSlow<br />
Zoho Notebook Helper<br />
Thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Dolske</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-14497</link>
		<dc:creator>Justin Dolske</dc:creator>
		<pubDate>Sat, 23 Jun 2007 00:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-14497</guid>
		<description>frans: Interesting, I&#039;ll have to try that out. I had considered building up a histogram, but thought it might be slow. A simple average was also very simple to implement. :)</description>
		<content:encoded><![CDATA[<p>frans: Interesting, I&#8217;ll have to try that out. I had considered building up a histogram, but thought it might be slow. A simple average was also very simple to implement. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frans</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-14467</link>
		<dc:creator>frans</dc:creator>
		<pubDate>Thu, 21 Jun 2007 21:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-14467</guid>
		<description>The following code builds up a histogram of the pixel colors in the favicon, and then selects the most prominent color. It is even easier than averaging and results in brighter colors.

line 348:
&lt; if (color == &quot;rgba(0, 0, 0, 1)&quot; &#124;&#124; color == &quot;rgba(255, 255, 255, 1)&quot;) {

&gt; if (color == null &#124;&#124; color == &quot;rgba(0, 0, 0, 1)&quot; &#124;&#124; color == &quot;rgba(255, 255, 255, 1)&quot;) {

line 451-488:
&lt; // We&#039;ll use pixel (0,0) as a workpixel for compositing.
...
&lt; var color = &quot;rgba(&quot; + pixels[0] + &quot;, &quot; + pixels[1] + &quot;, &quot;+ pixels[2] + &quot;, 1)&quot;;

&gt; var colormap = new Object();
&gt; for (var i = 0; i &lt; 16*16; i += stride) {
&gt;   var p = 4*i;
&gt;   if (pixels[p+3] &lt; 192) { continue; }
&gt;   if (pixels[p] + pixels[p+1] + pixels[p+2] &lt; 100  ) { continue; }
&gt;   if (pixels[p] &gt; 230 &amp;&amp; pixels[p+1] &gt; 230 &amp;&amp; pixels[p+2] &gt; 230) { continue; }
&gt;   if (Math.abs(pixels[p] - pixels[p+1]) &lt; 10 &amp;&amp; Math.abs(pixels[p] - pixels[p+2]) &lt; 10 &amp;&amp; Math.abs(pixels[p+1] - pixels[p+2]) &lt; 10) { continue; }
&gt;   var x = &quot;&quot; + (Math.round(pixels[p] / 17) * 17) + &quot;_&quot; + (Math.round(pixels[p+1] / 17) * 17) + &quot;_&quot;+ (Math.round(pixels[p+2] / 17) * 17) + &quot;&quot;;
&gt;   colormap[x] = (colormap[x] ? colormap[x] : 0) + 1;
&gt; }
&gt; var maxcolor = null, maxcount = 0;
&gt; for (var c in colormap) {
&gt;   if (colormap[c] &gt; maxcount) {
&gt;     maxcolor = c;
&gt;     maxcount = colormap[c];
&gt;   }
&gt; }
&gt; color = &quot;rgba(&quot; + maxcolor.replace(/_/g, &quot;,&quot;) + &quot;,1)&quot;;</description>
		<content:encoded><![CDATA[<p>The following code builds up a histogram of the pixel colors in the favicon, and then selects the most prominent color. It is even easier than averaging and results in brighter colors.</p>
<p>line 348:<br />
&lt; if (color == &#8220;rgba(0, 0, 0, 1)&#8221; || color == &#8220;rgba(255, 255, 255, 1)&#8221;) {</p>
<p>&gt; if (color == null || color == &#8220;rgba(0, 0, 0, 1)&#8221; || color == &#8220;rgba(255, 255, 255, 1)&#8221;) {</p>
<p>line 451-488:<br />
&lt; // We&#8217;ll use pixel (0,0) as a workpixel for compositing.<br />
&#8230;<br />
&lt; var color = &#8220;rgba(&#8221; + pixels[0] + &#8220;, &#8221; + pixels[1] + &#8220;, &#8220;+ pixels[2] + &#8220;, 1)&#8221;;</p>
<p>&gt; var colormap = new Object();<br />
&gt; for (var i = 0; i &lt; 16*16; i += stride) {<br />
&gt;   var p = 4*i;<br />
&gt;   if (pixels[p+3] &lt; 192) { continue; }<br />
&gt;   if (pixels[p] + pixels[p+1] + pixels[p+2] &lt; 100  ) { continue; }<br />
&gt;   if (pixels[p] &gt; 230 &amp;&amp; pixels[p+1] &gt; 230 &amp;&amp; pixels[p+2] &gt; 230) { continue; }<br />
&gt;   if (Math.abs(pixels[p] &#8211; pixels[p+1]) &lt; 10 &amp;&amp; Math.abs(pixels[p] &#8211; pixels[p+2]) &lt; 10 &amp;&amp; Math.abs(pixels[p+1] &#8211; pixels[p+2]) &lt; 10) { continue; }<br />
&gt;   var x = &#8220;&#8221; + (Math.round(pixels[p] / 17) * 17) + &#8220;_&#8221; + (Math.round(pixels[p+1] / 17) * 17) + &#8220;_&#8221;+ (Math.round(pixels[p+2] / 17) * 17) + &#8220;&#8221;;<br />
&gt;   colormap[x] = (colormap[x] ? colormap[x] : 0) + 1;<br />
&gt; }<br />
&gt; var maxcolor = null, maxcount = 0;<br />
&gt; for (var c in colormap) {<br />
&gt;   if (colormap[c] &gt; maxcount) {<br />
&gt;     maxcolor = c;<br />
&gt;     maxcount = colormap[c];<br />
&gt;   }<br />
&gt; }<br />
&gt; color = &#8220;rgba(&#8221; + maxcolor.replace(/_/g, &#8220;,&#8221;) + &#8220;,1)&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frans</title>
		<link>http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/comment-page-1/#comment-14455</link>
		<dc:creator>frans</dc:creator>
		<pubDate>Thu, 21 Jun 2007 10:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/dolske/2007/04/03/chromatabs-2/#comment-14455</guid>
		<description>I really like the Chromatabs extension!

As you say &quot;a surprising number of sites have black-and-white site icons&quot;. I&#039;ve noticed a lot of sites have grayscale icons (eg Digg) which results in gray tabs that aren&#039;t in the spirit of Chromatabs. ;-)

I&#039;ve added the following line to function getFaviconColor right after &quot;if (pixels[p] &gt; 230 &amp;&amp; pixels[p+1] &gt; 230 &amp;&amp; ...&quot;:

if (Math.abs(pixels[p] - pixels[p+1]) &lt; 10 &amp;&amp; Math.abs(pixels[p] - pixels[p+2]) &lt; 10 &amp;&amp; Math.abs(pixels[p+1] - pixels[p+2]) &lt; 10) { continue; } // ignore gray pixels</description>
		<content:encoded><![CDATA[<p>I really like the Chromatabs extension!</p>
<p>As you say &#8220;a surprising number of sites have black-and-white site icons&#8221;. I&#8217;ve noticed a lot of sites have grayscale icons (eg Digg) which results in gray tabs that aren&#8217;t in the spirit of Chromatabs. ;-)</p>
<p>I&#8217;ve added the following line to function getFaviconColor right after &#8220;if (pixels[p] &gt; 230 &amp;&amp; pixels[p+1] &gt; 230 &amp;&amp; &#8230;&#8221;:</p>
<p>if (Math.abs(pixels[p] &#8211; pixels[p+1]) &lt; 10 &amp;&amp; Math.abs(pixels[p] &#8211; pixels[p+2]) &lt; 10 &amp;&amp; Math.abs(pixels[p+1] &#8211; pixels[p+2]) &lt; 10) { continue; } // ignore gray pixels</p>
]]></content:encoded>
	</item>
</channel>
</rss>
