jquery css cleaner

this helper it’ll help you with the recognition of unused css selectors and properties/values, so you could delete this lines of your css file in order to make it lighter.

if you are this kind of person worried about the loading time, optimizing everything, you would find this script very useful and you’ll love it.

i’ve improved the style of this script and the last one for make it more presentable and useful, so enjoy it

(again) this script with a css compressor like this or this are a complet and useful tools for make your css files lighter

put this code in your html to try the script, you will see a box with the list of unused css in the right bottom

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://joaquinnunez.cl/download/jquery.css.cleaner.js"></script>

greetings

7 Responses to “jquery css cleaner”

  1. MartinMartin

    2:20 pm
    August 30th, 2010

    Hi,
    this just rocks!

    could you add this inline style? My website’s z-index prevents the box displaying correctly.

    #jquery_css_cleaner {z-index:9999;}
  2. <a href='http://joaquinnunez.cl/' rel='external nofollow' class='url'>Joaquín Núñez</a>Joaquín Núñez

    5:09 pm
    August 30th, 2010

    ;-) no problem…. ok

    and btw there is a firefox addon called “dust me selectors” it has the same functionality, but is more cool.

    greetings

  3. MichaelMichael

    6:59 pm
    May 13th, 2011

    How do I use this?

  4. RicardoRicardo

    6:07 pm
    July 18th, 2011

    Yes, how do you use this?

    Dusty Me Selectors doesn’t work with Firefox 5.x and that project doesn’t seem to be going on anymore, no updates from the author for FF 4.x

  5. DarrenDarren

    11:27 pm
    August 23rd, 2011

    Very Cool,

    Thanks!

  6. <a href='http://www.advansysperu.com' rel='external nofollow' class='url'>Jack</a>Jack

    4:38 pm
    September 8th, 2011

    Plaese explain How do you use this.

  7. <a href='http://joaquinnunez.cl/' rel='external nofollow' class='url'>Joaquín Núñez</a>Joaquín Núñez

    1:09 am
    October 4th, 2011

    Dear Michael, Ricardo & Jack.

    Is so fucking hard to read the fucking post? RTFP

 

Leave a Reply