Emoticon for Blogger version 3

Update the newest link to js file:


https://sites.google.com/site/gman/file/Emoticon.js?20110731

Emoticon for blogger

… is an easy way to show emoticons (smileys) in your blog posts or your comments. You and your readers just need to type the symbol :) and it will automatically change to :) when the post published.
Here is the list I already made:
Emoticon Symbols Emoticon Symbols
:) :) 8-X 8-X
:bz :bz *-:) *-:)
:D :D ~O) ~O)
^#(^ ^#(^ (~~) (~~)
x_x x_x **== **==
:!! :!! ~:> ~:>
\m/ \m/ :(|) :(|)
:-bd :-bd 3:-O 3:-O
:-q :-q :@) :@)
>:) >:) %-( %-(
#:-S #:-S :-?? :-??
:-S :-S :o3 :o3
B-) B-) <):) <):)
~:> ~:> >:P >:P
X( X( :-w :-w
:-O :-O :^o :^o
=(( =(( @-) @-)
:-* :-* #-o #-o
:P :P :-? :-?
:"> :"> (:| (:|
~X( ~X( <:-P <:-P
:)] :)] 8-} 8-}
:-c :-c :O) :O)
=; =; :-& :-&
:-B :-B :-$ :-$
O:-) O:-) [-( [-(
=)) =)) %%- %%-
/:) /:) @};- @};-
:| :| :-< :-<
:)) :)) :-SS :-SS
:(( :(( =D> =D>
:( :( =P~ =P~
:-h :-h (*) (*)
:-t :-t :-j :-j
8-> 8-> ^:)^ ^:)^
I-) I-) :-@ :-@
8-| 8-| ;)) ;))
L-) L-) >:/ >:/
>:D< >:D< \:D/ \:D/
;;) ;;) [-X [-X
[-O< [-O< :)>- :)>-
:-L :-L b-( b-(
>-) >-) :-" :-"
=:) =:) $-) $-)
(%) (%) o=> o=>
o-+ o-+ o-> o->
:x :x ;) ;)
:-/ :-/

In this update

You can separate the “emoticon region” into any ID or class. For example:
#comment-block or .entry-content
It’s way convenient for everyone :D
For those who installed the older versions of this hack, you don’t need to do anything for uninstalling. But of course, you can clean your template by remove the link to emoticon.js and onload=”replaceText()”, it is totally optional.

Steps:

Update: I've changed the link to js file, due to the migration of Google Pages (to Google Sites).

You can see more details how to install this hack here

(My) ToDo

  1. When you type “)” followed by “&” or “>” or “<” it will be changed to ;).
  2. And I haven’t made a way to escape emoticons :D
If you know a way to do this, please tell me how :">, thank you.