Here's how CSS can warn you about links to sites matching a "blacklist"
you define. This might be useful in weeding out bogus search results,
etc.
It uses substring attribute matching (which is CSS3); works in Firefox
but not IE. (Tested FF 1.0.2 and IE6.)
Example:
1. Edit userContent.css. (ChromEdit is convenient for this.)
Add selectors for the links you want to highlight. Example:
a[href*="sabox.com"] /* '*=' matches substring */
{
background-color: yellow !important;
}
2. Save and restart Firefox. (I wish there were a "reread
userContent.css" button)
3. Google for "mortgage accelerated" (no quotes)
All links to sabox.com pages are highlighted in yellow. (Sabox.com was
chosen for the example because it pretends to be informative, but is
just a list of more search results and ads.)
There's probably a lot more that could be done with this.
- other substring matches: catch javascript links, embedded '@' signs,
PDF files, .exe, etc.
- avoid false positives
- how well would this scale up for many sites? I haven't tested this.
- As shown above, this takes effect on every page, not just Google. But
there's another FF extension that adds the domain as an ID to the body
tag, enabling per-site user CSS:
http://extensionroom.mozdev.org/more-info/uriid
--
Kurumi http://www.kurumi.com/
3di's, Conn. Roads, maps, interchanges