desmileyfize

desmileyfize
347
By myf
Last updated Sep 05 2008
4 installs this week, 49 total.

Unifies graphical smilies (smileys) on page to defined appearance: half-transparent 4×4px square (mouse over it to reveal its hidden -beauty- _ugliness_).

Notes
- relies on keyword "like 'smilies'" within source URL or properly filled 'alt' attribute, nothing more -- not even a size -- so it is possible that it will match more than just smilies
- selectors set is just rough, for now (I hope it will be possible to tune it up to really working one)
- for a pity, FF2 cannot add a generated content after image elements, so adding a textual img[alt]:after { content: attr(alt) } does not work : (
- if you want it this way, you can use this userscript instead:
http://diveintogreasemonkey.org/casestudy/frownies.html
(contains pretty complex set of selectors, may serve here in future :] )
- Appearance of the hovered image in the 'After' screenshot is affected by Show transparency of in-page images on hover
- testing ground:
http://eldar.cz/myf/lab/desmileyfize/smiley_hell.html

changelog:
2008-09-05 - some new tweaks, see source

Before
After

Install options

Feedback

Reviews

.ad {
/* Your ad can be here instead. 10K unique visitors for $5/day. Mail me. */

}