[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-03 Thread brian
Nice catch, thanks. I really should also make it a bit more configurable. On Wed, Sep 2, 2009 at 8:44 PM, JazeNZ wrote: > > instead of > >                var address = obfuscated[1] >                        .replace(' AT ', '@') >                        .replace(' DOT ', '.') >                    

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-03 Thread JazeNZ
instead of var address = obfuscated[1] .replace(' AT ', '@') .replace(' DOT ', '.') .replace(/^\s+|\s+$/g, ''); try var address = obfuscated[1] .replace(' AT ', '@')

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-02 Thread brian
ROT13 is not immediately readable to a person who has javascript disabled. The method I used was specifically designed to keep the email address obvious to a human. On Wed, Sep 2, 2009 at 4:46 PM, shapper wrote: > > I think the Rot13 is better at least according with the following > results: > ht

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-02 Thread shapper
I think the Rot13 is better at least according with the following results: http://www.josephfinsterwald.com/UI/Pages/article4.aspx On Sep 2, 7:01 pm, brian wrote: > I wrote one but have never gotten around to submitting it. Feedback welcome. > > /** >  * De-obfuscate printed email addresses whic

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-02 Thread brian
I wrote one but have never gotten around to submitting it. Feedback welcome. /** * De-obfuscate printed email addresses which are of the type: * * * some link text [ someone AT gmail DOT com ] * * * The braces around the address part are hard-wired here. That should * probably be set by

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-02 Thread shapper
I found the following one: http://plugins.jquery.com/project/RotationalStringObfuscator It seems interesting. How can I apply it to all emails on my web page? Thank You, Miguel