2008-05-01

Browser Extensions

In this small patch alone, I see evidence of three Firefox extensions or user styles:


The "k" on the upper-left corner of that gray box is from Adblock. It actually reads "Block" when it is not cut off. This is for blocking flash elements if you desire. I don't recall ever using this feature.

The little icon just southeast of that I thought was from the user style (using the Stylish extension) that inserts icons on links to different types of files. Upon further inspection it turned out to be part the Adblock thing.

All of those "Buy" links look messed up because of a user style I became aware of on news.ycombinator.com, which itself uses nofollow links extensively. You can make the style do anything you want; the selector is the important part. I just happened to settle on inserting a tilda in front of it by adding the :before pseudo selector.

/*highlight nofollow links*/
a[rel~="nofollow"] {
background: red;
}

/*denote nofollow links*/
a[rel~="nofollow"]:before {
content: '~'
}

No comments: