Dust-Me Selectors
Dust-Me Selectors
Dust-Me Selectors is a Firefox extension (for v1.5 or later) that finds unused CSS selectors.
- Install now!
- Download the source files
- Blog post
- What's new in Version 2.0
- The User-Interface
- Preferences
It extracts all the selectors from all the stylesheets on the page you're viewing, then analyzes that page to see which of those selectors are not used. The data is then stored so that when testing subsequent pages, selectors can be crossed off the list as they're encountered.
You can test pages individually, or spider an entire site, and you'll end up with a profile of which selectors are not used anywhere.
Core support
-
Supports local and remote stylesheets included using
<link>elements,<?xml-stylesheet?>processing instructions, and@importstatements. (Note: rules inside<style>blocks that are not@importstatements, and inlinestyleattributes, are not included.) -
Supports
<link>stylesheets inside IE Conditional Comments. - Check a single page, or an entire site.
- Understands all CSS1 selectors, and most CSS2 and CSS3 selectors (courtesy of Dean Edwards' wonderful base2).
-
Caters for common CSS
hacks — for example,
"* html #foo"will be treated as"html #foo".
Find out more...
Sponsored Links
Topics
SitePoint Marketplace
Buy and sell Websites, templates, domain names, hosting, graphics and more.
SitePoint Kits
Download sample chapters of any of our popular kits.
The Search Engine Marketing Kit, 2.0
The Web Design Business Kit 2.0
The Email Marketing Kit
The Usability Kit
SitePoint Books
Download sample chapters of any of our popular books.