YASS

YASS: Yet Another cSS selector

The fastest CSS selectors JavaScript implementation in the world!

2009-05-04, Version 0.3.9

  • Modules in loader now separated with # to allow - in URLs.
  • Old module is deleted from DOM tree on reloading.
  • querySelectorAll disabled for IE and Opera (10).
  • Added quotes for values in querySelectorAll.
view all
  1. _('a.link');
  2. _('.link span');
  3. _('.sp sp');
  4. _('p');
  5. _('#p');
  6. _('#p .link');
  7. _('#p #sp1');
  8. _('p#p');
  9. _('p a');
  10. _('.link');
  11. _('input[type=checkbox]');
  12. _('input[type!=radio]');
  13. _('input[type^=check]');
  14. _('input[type$=box]');
  15. _('input[type*=ck]');
  16. _('h1:first-child');
  17. _('p:nth-child(2n+1)');
  18. _('body>div');
  19. _('h1+p');
  20. _('ul~ol');