SelectorGadget: point and click CSS selectors

SelectorGadget Screencast from Andrew Cantino on Vimeo.

SelectorGadget is an open source bookmarklet that makes CSS selector generation and discovery on complicated sites a breeze. Just drag the bookmarklet to your bookmark bar, then go to any page and press it. A box will open in the bottom right of the website. Click on a page element that you would like your selector to match (it will turn green). SelectorGadget will then generate a minimal CSS selector for that element, and will highlight (yellow) everything that is matched by the selector. Now click on a highlighted element to remove it from the selector (red), or click on an unhighlighted element to add it to the selector. Through this process of selection and rejection, SelectorGadget helps you come up with the perfect CSS selector for your needs.
SelectorGadget has been tested to work in current versions of Firefox, Chrome, and Safari.
How could I use this?
Created by Andrew Cantino and Kyle Maxwell. You can find the current version on GitHub, and please feel free to leave comments below.
Drag this link to your bookmark bar: SelectorGadget (updated March 10, 09)
Or use the development version: SelectorGadget Unstable (updated March 10, 09)
comments powered by Disqus