<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Snippets code from my daily experience &#187; nsIStyleSheetService</title>
	<atom:link href="http://dafizilla.wordpress.com/category/nsistylesheetservice/feed/" rel="self" type="application/rss+xml" />
	<link>http://dafizilla.wordpress.com</link>
	<description>Just another unnecessary code resource blog</description>
	<lastBuildDate>Sun, 20 Dec 2009 10:00:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dafizilla.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/635b338f35d7304cae2e1b31926d3592?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Snippets code from my daily experience &#187; nsIStyleSheetService</title>
		<link>http://dafizilla.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dafizilla.wordpress.com/osd.xml" title="Snippets code from my daily experience" />
		<item>
		<title>Richscrollbar released</title>
		<link>http://dafizilla.wordpress.com/2007/12/27/richscrollbar-released/</link>
		<comments>http://dafizilla.wordpress.com/2007/12/27/richscrollbar-released/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 09:56:29 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[nsIStyleSheetService]]></category>
		<category><![CDATA[richscrollbar]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/12/27/richscrollbar-released/</guid>
		<description><![CDATA[After ten months I&#8217;ve released a new Richscrollbar (RSB) version, starting from FF3 compatibility issues I&#8217;ve done some other work.
Finally standard OS themes aren&#8217;t offended by old ugly RSB scrollbars, now RSB integrates better with the native OS look&#38;feel.
Now RSB simplifies integration with themes, a model based on supported themes repository allow me to quickly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=36&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After ten months I&#8217;ve released a new <a href="http://dafizilla.sourceforge.net/richscrollbar/index.php">Richscrollbar</a> (RSB) version, starting from FF3 compatibility issues I&#8217;ve done some other work.</p>
<p>Finally standard OS themes aren&#8217;t offended by old ugly RSB scrollbars, now RSB integrates better with the native OS look&amp;feel.</p>
<p>Now RSB simplifies integration with themes, a model based on supported themes repository allow me to quickly add css styles.</p>
<p>Finally users can decide to remove RSB scrollbars from listbox, tree and so on and have them only on main browser window.</p>
<p>Very strange is the reason RSB doesn&#8217;t work on FF3; The <a href="http://www.xulplanet.com/references/xpcomref/ifaces/nsIStyleSheetService.html">nsIStyleSheetService</a>.USER_SHEET must be changed to <a href="http://www.xulplanet.com/references/xpcomref/ifaces/nsIStyleSheetService.html">nsIStyleSheetService</a>.AGENT_SHEET</p>
<p>It&#8217;s always present the problem with disabled javascript due to <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=236839">bug 236839</a> that limits RSB usage for example with Thunderbird or when NoScript is installed</p>
<p>Initially I would make RSB compatible with Seamonkey but the current number of users is so little that this compatibility isn&#8217;t necessary</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=36&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/12/27/richscrollbar-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox 3 and broken extensions</title>
		<link>http://dafizilla.wordpress.com/2007/12/20/firefox-3-and-broken-extensions/</link>
		<comments>http://dafizilla.wordpress.com/2007/12/20/firefox-3-and-broken-extensions/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 17:10:51 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gecko]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[nsIStyleSheetService]]></category>
		<category><![CDATA[xbl]]></category>
		<category><![CDATA[richscrollbar extension]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/12/20/firefox-3-and-broken-extensions/</guid>
		<description><![CDATA[When I started Richscrollbar (RSB for friends) development I could not figure out a so difficult programming life cycle.
After all its task is simple, add extra buttons to browser scrollbars to speedup movements inside web page.
Gecko is affect by a bug that reduces RSB productivity dramatically but I&#8217;ve created it anyway.
Now I discover RSB totally [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=34&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When I started <a href="http://dafizilla.sourceforge.net/richscrollbar/index.php">Richscrollbar</a> (RSB for friends) development I could not figure out a so difficult programming life cycle.</p>
<p>After all its task is simple, add extra buttons to browser scrollbars to speedup movements inside web page.</p>
<p>Gecko is affect by a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=236839">bug</a> that reduces RSB productivity dramatically but I&#8217;ve created it anyway.</p>
<p>Now I discover RSB totally doesn&#8217;t work with Firefox 3 beta 2, Mozilla guys changed API and I suspect introduced some regression.</p>
<p>Obviously it is impossibile to explain the problem to Mozilla, they are so busy to fight against the world.</p>
<p>After some frustrating debug I found the problems and fixed them.</p>
<p>Problem nr 1.</p>
<p>The <a href="http://www.xulplanet.com/references/xpcomref/ifaces/nsIStyleSheetService.html">nsIStyleSheetService.USER_AGENT</a> has changed behaviour without documenting it (at least at this date)</p>
<p>I used USER_SHEET in Firefox 2 but under FF3 the same code simply doesn&#8217;t work.</p>
<p>I&#8217;ve replaced it with the other flag AGENT_SHEET and magically RSB started to work.</p>
<p>Where can I read the new behaviour? Damned Mozilla <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Problem nr 2.</p>
<p>An horizontal useless scrollbar is always visible only on tab window open at browser startup, if user opens new tab and/or windows this dumb doesn&#8217;t appear, sigh!</p>
<p>I found a reasonable workaround hiding the scrollbar inside the notificationbox component.</p>
<p>I hope to publish the fixed RSB on this weekend.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=34&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/12/20/firefox-3-and-broken-extensions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
	</channel>
</rss>