Emoticons for Gmail
Finally: a greasemonkey script for gmail that transforms raw emoticons like :-) into their image-based counterparts.
Feeling lucky? Click here to install the script. It's a work in progress, but I'm excited by the results so far and want to begin testing on a macro-level. If you install this version, check back soon for an updated version.


Lots of work left to do. Among other improvements, I will add an 'emoticons bar' to the compose menu so users can insert icons with the click of a mouse. But this is a start. The code is complete with comments and contains a 'to do' list and a list of known bugs.
For a 'key' to the emoticons supported by this script click here.
Feeling lucky? Click here to install the script. It's a work in progress, but I'm excited by the results so far and want to begin testing on a macro-level. If you install this version, check back soon for an updated version.
Lots of work left to do. Among other improvements, I will add an 'emoticons bar' to the compose menu so users can insert icons with the click of a mouse. But this is a start. The code is complete with comments and contains a 'to do' list and a list of known bugs.
For a 'key' to the emoticons supported by this script click here.

3 Comments:
Blogger won't allow me to submit an addition to support :p in the comments. Also it should only replace when it the emoticon starts or ends the line, and is surrounded by white-space on the left and right side. If you don't lines like the following will be replaced incorrectly:
I got my grade for my math test today (B-)!
Another suggestion, create an addition in the Labs section of settings to enable/disable as well as change out custom images and emotes. :)
ustice,
thanks for the ideas. i added in :p to the mix.
i thought about checking for a whitespace with the regexp. but sometimes i attach an emoticon to the end of a word and i wanted to support that. however, your way is prob. safer.
what i need to implement is a toggle button in case a false positive shows up. also, one weakness is that the images won't copy and paste. again, a toggle solves this problem.
finally, great idea to hack the settings menu to let the user manage his or her emoticons. that would be awesome!
Post a Comment
Links to this post:
Create a Link
<< Home