Detect CSS injected by Stylish addon Rated 5 out of 5 stars

This gets 5 stars because it is good at what it is supposed to do.
However, I was wondering if there is a way to clean up custom CSS applied to a webpage using Stylish and similar addons.

Same issue as mvirtue Rated 3 out of 5 stars

Addons works but in my CSS file often certain selectors are replaced with the text "undefined" which is really unfortunate, because other than that it works really well. This happens regardless of whether I set it to comment out or delete the unused selectors. Using Firefox 40.0.2 on Windows 10.

Rated 4 out of 5 stars

Great Add-On. Does exactly what I want, except for the "Clean" button that reports Error: "Cannot process stylesheet [Content-type is not CSS]". Apparently this error is cause by my OS (Linux: Xubuntu) not being a SERVER install. I'm on a Desktop installation: Xubuntu Trusty 14.04. I've manually removed the "unused selectors" one by one to test this and it seems perfect.

Dust-Me Selectors version: 4.1.1-signed (most recent)

I'm working on individual html + css LOCAL files, one at a time, NOT using spider.

Is there a package, or a few packages, I could install to make this work on a Desktop OS? If not, would it be a lot of work to tweak this add-on to make it work?

Thanks. Keep on the good work.

full css optimization Rated 4 out of 5 stars

amazing tool for CSS optimization with excellent results checked at PAGESpeed (Google).
By now yout must be very carefull with selectors to remove... I mean, this is not a ONE-CLICK TOOL,,,,,, YET! thanks to developer for such a usefull addon, hope you keep it going even better. thankyou!

Looks excellent - but has big issue Rated 3 out of 5 stars

This looks to be exactly what I need, but the cleaned CSS that gets saved has "undefined" throughout. e.g.

margin: 4px 30px 1px 0;

If that could be fixed, I'd be using this every day!

Dust-It Problems Rated 1 out of 5 stars

I have tried Dust-it and if it worked it would be brillient, but for some reason it is giving me false positives. It is tellng me a selector does not exist when I know it does. I have scanned every page and it still keeps on telling me that some selectors are not being used when they most definately are. So I cannot trust this plugin. The selectors it is telling me are not being used are ID's.

Data window not appearing :( -- Please FIX!! Rated 1 out of 5 stars

I'm having the same issue as other users. After scanning the data window does not appear. I can see it at the bottom of the screen - next to other open browsers, but when clicking it doesn't come to the front. I suspect it has to do with the latest FF update.

I'm using FF 38.0.1
Windows 7, Service Pack 1

I'd gladly pay you double if you can fix it. Please!!!!!

I'm giving it a 1 star, because it is now broken (for me).

PS.. this DOES work on a MAC.
OSX 10.9.5
FF 38.01

Rated 5 out of 5 stars

awesome plugin! thanks

Getting undefined instead of comment-outs Rated 3 out of 5 stars

This was working but now I got undefined instead of /*. Eg:

undefined.qty { font-size: smaller; color: orange; }

which should be

/**.ufb { border-bottom:1px solid #DDDDDD; margin-bottom:10px; padding-bottom:9px; }
.qty { font-size: smaller; color: orange; }

Choosing erase, instead of comment-out, lefts the word undefined. It seems to forgot how to comment out.

PS: To fix transparent window issue in Win 7, hover over small screen on task bar which is transparent and right click then select maximize. This happens because it is offscreen and it's width and height is 0px.

Edit: Also seeing something like this

undefinedh3 small,
undefined {
font-weight: normal;
line-height: 1;
color: #999999;

Thanks for the useful feedback. I'm working on an update that will fix these issues.

Rated 5 out of 5 stars

It works. Thank you for so useful plugin. But it couldn't scan only 1 page. I had to create second one with the link to the target page.

I'm not sure what you mean. You opened a page in the browser, and then clicked the "Scan this page" button, and it didn't work? Were there any errors in the Browser Console?

Dust-Me Data window is not display Rated 5 out of 5 stars

Dust-Me Data window is not display (transparent window in win8)

I have uninstalled all the Add-ons, Firefox, then I installed Firefox and same Dust-Me Selectors and then the same thing ;P

When I click on the icon, and then "View stored data ..." in the same :P

Thanks for the help in advance :)

Thanks, I'm looking into this problem at the moment, but still having great difficulty making it happen repeatedly.

Some questions:

- what platform are you on (version and service pack if applicable)
- what version of firefox
- when you click the view stored data button, are you currently viewing a page you've already scanned, or a page you haven't scanned, or a blank page, or something else?

Genius! Rated 5 out of 5 stars

I’ve been working on my personal website for a couple of years, adding and removing features, changing things drastically. As a result my css was a total mess. Dust-Me cleaned up and halved the css file in seconds, satisfying my perfectionist tendencies. THANKS

Rated 5 out of 5 stars

Simply genious. I tried it, I loved it.
Works automatically and dedects all Selectors on your Webpage, that you have active. GREAT. THANKS

Problem if CSS minified Rated 3 out of 5 stars

I was excited to come across this add-on to make the job of CSS clean-up much easier. However, after scanning my site and selecting the option to clean the main CSS file, it says it is “too minified.” The css in this file was created by us using the WordPress theme framework Headway and their CSS live editor. I checked with them, and indeed the CSS we input into the live editor is automatically minified before being added to the main stylesheet. They said there is no way to unminify it.

Is there anyway to still use the add-on? All the CSS is unminified when inserted in the live editor.

Note: I did try switching themes and copying over the CSS, but it didn’t seem to work correctly, which is probably due to the fact that so much of our html coding is done within the Headway theme framework and does not carry over to other themes…

Brothercake - thanks for your reply.
I don't know how the unminifier function would solve the problem. If I copy my minified CSS into the unminifier and then copy the unminifed version back into the CSS file, my theme just automatically minifies it again....
Any other solutions appreciated! I haven't come across another tool quite like yours...

Okay, so WordPress must be automatically minifying the live editor CSS and then saving it in only that format, disposing of the original.

The CSS cleaner can't work without line-breaks, because that's how the CSS is parsed. In order to handle that, I'd have to rewrite the CSS parser.

That's not entirely out of the question though -- if it's going to be a problem for a lot of people. Or maybe add an unminifier function.

There are tools online that do that (eg. so that might help you in the meantime, and I'll give some thought to whether that functionality could be added to the extension.

RESPONSE: yeah you'd have to copy the unminified CSS into a different stylesheet that isn't parsed by WP. But then I guess that's not possible, if WP automatically minifies every stylesheet that appears on the page. There's no other solution I can think of, sorry. I'll investigate whether the extension can support this, but there's no other workaround I can suggest in the meantime.

WOW! Thank you kind brothercake!!! Rated 5 out of 5 stars

I processed a mockup I've been working on based from a template (I only wanted certain elements) using Dust-Me. The CSS file went from 93KB to 6KB without having to manually go through all these usused properties. This plugin just saved me a full day's work cleaning up the file.

Appreciated greatly.

Good Add on Rated 4 out of 5 stars

I like it. Finding it very useful for integrating a plugin into my existing site where dozens of css selectors are competing with each other and breaking my design. There is one bug I found, though, so I couldn't give it 5 stars. Read on because I found a work around for it until it gets fixed. Hopefully it will help someone else.

I also had the problem of the data view popup not appearing, like what Nouvelle Vape mentioned. It showed up as expected the first time I ran it, but after tweaking my css and running the add-on again, the data view failed to appear in the new popup window.

I'm running Windows 7, and I saw the popup window's presence was accounted for as an additional icon alongside the firefox icon in the taskbar, but when I hovered over it for the window preview, it showed my webpage in firefox and an empty screen as my two windows to choose from. When I clicked on the empty window preview, I got nothing. It just went to my desktop.

I don't know what's causing it. Its almost as if the popup data view window is "stuck" as a minimized window. I did discover that if I hovered over the "empty" window preview, right-clicked on it, and chose "maximize," the window would appear properly, granted at full screen, but I could see the data.

I will also email this bug report to the address provided on the add-on page.

Okay that's useful info, thanks. I will investigate this further.

Great tool but I have a problem... Rated 4 out of 5 stars

Hi there,
I discover this amazing tool and start using it, but since a few days I have the following problem:
At the end of a Spider Sitemap process the window Dust-me Data does not pop up, impossible to see the selectors and start the "clean" process. The Dust-me data appears on the ms windows Tab bar but impossible to display the window.
Any idea?

If you go "View stored data..." from the toolbar-button menu or the main tools menu, then what actually happens?

Rated 3 out of 5 stars

Honestly, it's a great concept and exactly what I was looking for, but I am not sure it is working correctly.

On a tryout the add-on said certain stylesheet had 408 unused selectors (and around 200 selectors used), when according to inspect it has 396 selectors, total.

I don't know if it has something to do with my version of FF (31) or if its just outdated or broken. Not sure I can trust the information.

So you're saying there's a difference between the web inspector (or Firebug?) and what dust-me produces?

There's a number of possibilities, the least likely of which is a fault in dust-me. In fact it's more likely that dust-me is correct and the inspector is wrong; or at least, different -- dust-me understands a number of selectors that Firefox doesn't support, and which therefore won't show up in its inspection.

Or it might be to do with dynamic content that was present when scanned but not when inspected. Or it might be to do with a difference in how the different tools represent the CSS DOM.

I can't really say more without knowing what URL you tested it on. If you'd like to drop a line to the support email, I'd be happy to investigate.

Works perfectly, good features, zero learning curve. Rated 5 out of 5 stars

This is not only cool and useful but lean and tight, unmistakable UI. A good example of good software! Works flawlessly on my machine. Not only finds my unused selectors from my sitemap, it offers to create a copy with the unused either commented or deleted. Version info from FF about page:
Mozilla Firefox for Linux Mint
mint - 1.0

Great, Not Perfect Rated 4 out of 5 stars

This works very well in functionality. It's helped me find clean up CSS (though having to go to every page on a site does take a bit). My only problem with it is that there is no high-res icon. When I have it placed in the new dropdown menu, it looks blurry. Add the high-res icon, and I'll change this to 5-star.

EDIT: I mean the dropdown menu that shipped with Firefox starting with Australis. I'm using a 6 year old Dell, with a screen that is not in any way retina.

You mean for retina screens? I'm gonna do that soon -- just got a 2013 macbook myself, so it really does stand out :-)

EDIT: In which case, I don't know what you mean. Can you upload a screenshot?