Dust-Me Selectors - Cool Tool

Discussion in 'CSS' started by sweetfunny, Jul 4, 2008.

  1. #1
    I just came across a pretty cool Firefox Plugin on Sitepoint called "Dust-Me Selectors" and though it would be handy to some people.

    What it does:

    When enabled on Firefox, it scans your HTML/CSS and when you load a page it reports any unused CSS selectors. It's perfect for tidying up CSS code that fills up with unused junk over time, you don't have to flick between your HTML and CSS to manually work out what's being used and what isn't.

    http://www.sitepoint.com/dustmeselectors/

    It also has automatic mode, it will crawl through your whole site and compile a list of all unused CSS so you can remove it from your style sheets.

    Working on Firefox 3 also.
     
    sweetfunny, Jul 4, 2008 IP
  2. YesBrilliant

    YesBrilliant Peon

    Messages:
    274
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Congrats for your 5,000th post!

    Oh, nice find as well. I will use it a lot.
     
    YesBrilliant, Jul 4, 2008 IP
  3. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Heh, thanks i didn't even realize.. Well i guess i contributed something worthwhile for post 5k.

    Also you're welcome, i hope the tool is useful. :)
     
    sweetfunny, Jul 4, 2008 IP
  4. yankzilla

    yankzilla Peon

    Messages:
    159
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Does removing the CSS have affects on IE or safari? That would be my only concern.
     
    yankzilla, Jul 4, 2008 IP
  5. rochow

    rochow Notable Member

    Messages:
    3,991
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    240
    #5
    It removes CSS selectors not used.

    For example:

    So it has no effect whatsoever.
     
    rochow, Jul 4, 2008 IP