Wednesday, 7 August 2013

How to make list of all classes in the page using jQuery?

How to make list of all classes in the page using jQuery?

I was given an eshop after someone else who wasnt really caring about the
site performance and made a really anti-performance CSS, and since no CSS
minifyer works crossbrowser-properly on such a huge CSS file (not even
eshop's own) I decided to clear CSS by myself, to do that I would need
complete list of classes used on page - how to get complete list of
classes used on the page in jQuery?
(Somtehing I could e.g. loop-write into console,... And I am looking
rather for a how to do in jQuery than a complete solution (In such things
I never belive third-side x) )

No comments:

Post a Comment