#doiuse Lint CSS for browser support against caniuse database; using doiuse library
For now, this is a clunky prototype
-
Set
xpinstall.signatures.required
tofalse
inabout:config
-
Install the
.xpi
from yourabout:addons
and restart Firefox -
Open the Developer Tools "doiuse" panel
-
Set your Development Domains
-
Go to one of your development domains
You will get an alert for each stylesheet on the page, showing all of the CSS incompatibilities as reported by moz-doiuse.
Add-on coding can be a bit tricky. There are great docs on MDN for Add-ons and the Add-on SDK. But they may be more than you need to work on this. So here's a tl;dr version ...
-
(Suggested) Create a new profile for fx-doiuse
-
Set these recommended about:config values in the profile:
devtools.chrome.enabled = true devtools.debugger.remote-enabled = true xpinstall.signatures.required = false
-
Install jpm on your machine
-
Clone this repo:
git clone git://github.com/groovecoder/fx-doiuse.git
-
jpm run
to run Firefox with the add-on:cd fx-doiuse jpm run [-p fx-doiuse]
See Issues for the planned features.
Icons by Hand-Drawn Goods Brainy Icons Free