cssQuery is similar to Simon Willison’s getElementsBySelector. It is a bit more complicated but allows many more CSS selectors (e.g. attribute selectors). cssQuery also has a caching option which means that it gets faster the more you use it.
Available for download.