I'm trying to access all objects with a given color, but I can't figure out how to get objects by :hover color. I'm using this code:
$(document).ready(function() { $('*').each(function() { var fg = $(this).css('color'); // do something with $(this) $(this).addClass("identifier" + color2Id(fg)); } } This works for objects with basic selectors, like "a {color:blue}" but not for objects like "a:hover {color:red}". Is there some way to find the objects that have :hover colors? Seth