<?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: &gt;&gt;&gt; $$(selector)</title>
	<atom:link href="http://www.phpied.com/console-selectors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/console-selectors/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Fri, 10 Feb 2012 22:15:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: furnizor mobila</title>
		<link>http://www.phpied.com/console-selectors/#comment-81617</link>
		<dc:creator>furnizor mobila</dc:creator>
		<pubDate>Fri, 10 Feb 2012 22:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-81617</guid>
		<description>Thanks a lot for sharing this with all folks you really know what you&#039;re talking about! Bookmarked. Please also discuss with my site =). We will have a link change agreement between us</description>
		<content:encoded><![CDATA[<p>Thanks a lot for sharing this with all folks you really know what you&#8217;re talking about! Bookmarked. Please also discuss with my site =). We will have a link change agreement between us</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iouri Goussev</title>
		<link>http://www.phpied.com/console-selectors/#comment-75680</link>
		<dc:creator>Iouri Goussev</dc:creator>
		<pubDate>Sun, 13 Feb 2011 00:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-75680</guid>
		<description>You can also install http://firequery.binaryage.com/ to enable jquery on any page.</description>
		<content:encoded><![CDATA[<p>You can also install <a href="http://firequery.binaryage.com/" rel="nofollow">http://firequery.binaryage.com/</a> to enable jquery on any page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/console-selectors/#comment-70187</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Fri, 30 Jan 2009 22:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-70187</guid>
		<description>@Radoslav - whoa, good one! Nothing like a nice all-powerful one-liner :)</description>
		<content:encoded><![CDATA[<p>@Radoslav &#8211; whoa, good one! Nothing like a nice all-powerful one-liner <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/console-selectors/#comment-70183</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-70183</guid>
		<description>there is a tool already to find unused styles - called &lt;a href=&quot;http://www.sitepoint.com/dustmeselectors/&quot; rel=&quot;nofollow&quot;&gt;Dust-Me Selectors&lt;/a&gt;. A problem I found with it is that it wasn&#039;t counting the in-page &lt;style&gt;s</description>
		<content:encoded><![CDATA[<p>there is a tool already to find unused styles &#8211; called <a href="http://www.sitepoint.com/dustmeselectors/" rel="nofollow">Dust-Me Selectors</a>. A problem I found with it is that it wasn&#8217;t counting the in-page &lt;style&gt;s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tuzemec</title>
		<link>http://www.phpied.com/console-selectors/#comment-70182</link>
		<dc:creator>Tuzemec</dc:creator>
		<pubDate>Fri, 30 Jan 2009 16:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-70182</guid>
		<description>Yeah, jQuery is my thing :-) 

But when I think about it, this little script can become a nice tool helping to refine the stylesheets of a site.
Maybe as a greasemonkey script, a bookmarklet or a firebug extension.

The only problem that I see is that some of the styles can be dynamical (e.i. :hover). And while it&#039;s not hard to identify &quot;:hover&quot; and &quot;:active&quot; selectors - it&#039;s hard (or impossible?) to predict which styles are user-triggered. 

Anyway... just some thoughts at the end of the work week :-)</description>
		<content:encoded><![CDATA[<p>Yeah, jQuery is my thing <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>But when I think about it, this little script can become a nice tool helping to refine the stylesheets of a site.<br />
Maybe as a greasemonkey script, a bookmarklet or a firebug extension.</p>
<p>The only problem that I see is that some of the styles can be dynamical (e.i. :hover). And while it&#8217;s not hard to identify &#8220;:hover&#8221; and &#8220;:active&#8221; selectors &#8211; it&#8217;s hard (or impossible?) to predict which styles are user-triggered. </p>
<p>Anyway&#8230; just some thoughts at the end of the work week <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radoslav Stankov</title>
		<link>http://www.phpied.com/console-selectors/#comment-70180</link>
		<dc:creator>Radoslav Stankov</dc:creator>
		<pubDate>Fri, 30 Jan 2009 12:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-70180</guid>
		<description>And one geeky prototype version(little slow because of all loops), but for the fun:

$A(document.styleSheets).pluck(&#039;cssRules&#039;).map($A).flatten().pluck(&#039;selectorText&#039;).each(function(s){
    if ($$(s).length === 0) console.log(s);
});</description>
		<content:encoded><![CDATA[<p>And one geeky prototype version(little slow because of all loops), but for the fun:</p>
<p>$A(document.styleSheets).pluck(&#8216;cssRules&#8217;).map($A).flatten().pluck(&#8216;selectorText&#8217;).each(function(s){<br />
    if ($$(s).length === 0) console.log(s);<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/console-selectors/#comment-70178</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Fri, 30 Jan 2009 09:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-70178</guid>
		<description>Nice, thanks for the comment and the code. jQuery is so cool, eh? Makes everything nicely shorter and less verbose :)</description>
		<content:encoded><![CDATA[<p>Nice, thanks for the comment and the code. jQuery is so cool, eh? Makes everything nicely shorter and less verbose <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tuzemec</title>
		<link>http://www.phpied.com/console-selectors/#comment-70177</link>
		<dc:creator>Tuzemec</dc:creator>
		<pubDate>Fri, 30 Jan 2009 09:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=561#comment-70177</guid>
		<description>Heh... a cool css trick. I didn&#039;t know that you can access the stylesheets like this.

It will work on a jQuery powered sites with a little modification:

if ($(s)[0] === 0) console.log(s);

And using the jQuery $.each function it can be even shorter:

$.each( document.styleSheets, function(i, s) {
    $.each( s.cssRules, function (si, ss) {
       if (!$(ss.selectorText)[0]) console.log ( ss.selectorText );
    });
});

Neat :-)</description>
		<content:encoded><![CDATA[<p>Heh&#8230; a cool css trick. I didn&#8217;t know that you can access the stylesheets like this.</p>
<p>It will work on a jQuery powered sites with a little modification:</p>
<p>if ($(s)[0] === 0) console.log(s);</p>
<p>And using the jQuery $.each function it can be even shorter:</p>
<p>$.each( document.styleSheets, function(i, s) {<br />
    $.each( s.cssRules, function (si, ss) {<br />
       if (!$(ss.selectorText)[0]) console.log ( ss.selectorText );<br />
    });<br />
});</p>
<p>Neat <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

