Panemoticon is a Firefox add-on. It works only with the new hotness:

2. Install it.

3. Configure it.