Email Spam Protection

The email spam protection will convert the shortcode [ escapeemail email="email@address.com" ] to 

<script type="text/javascript">
eval(unescape('%64%6f%63%75%6d%65%6e%74%
2e%77%72%69%74%65%28%27%3c%61%20%68%
72%65%66%3d%22%6d%61%69%6c%74%6f%3a%
65%6d%61%69%6c%40%61%64%64%72%65%73
%73%2e%63%6f%6d%22%3e%65%6d%61%69%6c
%20%61%74%20%61%64%64%72%65%73%73%
20%64%6f%74%20%63%6f%6d%3c%2f%61%3e%27%29'))

</script>

which writes email at address dot com into your post.

Based on the email obfuscation found at http://twitter.com/help/contact

You can download this plugin here.

If you don’t want the plugin (or don’t have WordPress) you can generate the code for yourself: Email Spam Protection

17 Comments on Email Spam Protection

  1. Baron
    September, 16th 2008 at 1:08 pm

    hi. Thanks for plugin

    perfect.

    Regards

  2. WordPress Plugin Releases for 09/18 | bloground.ro - B...
    September, 18th 2008 at 3:00 pm

    [...] Email Spam Protection Obfuscates your email. You need to enter the shortcode in your post. [...]

  3. fryevhen
    September, 19th 2008 at 1:23 am

    The many thanks for the work! I the worshipper Of wordPress, and included your site in survey on my blog. Regards from the Ukraine!

  4. S.K
    September, 19th 2008 at 9:09 am

    Hi

    The non-plugin email spam protection thing is not working. It spews out an error message like this:

    Fatal error: Call to undefined function: write_email_js() in /home/blueware/public_html/wp-content/themes/blueberry/email.php on line 34

    Please fix it.

    Thanks

    S.K

  5. admin
    September, 19th 2008 at 9:36 am

    @S.K
    Woops! Forgot to update the demo when I updated the plugin, my bad! All set now though and thanks for the heads up.

  6. John P.
    September, 19th 2008 at 11:13 am

    Does this work for comments?

  7. Blueberry
    September, 19th 2008 at 11:18 am

    @John P: Not as of yet. Good idea though, I will be adding an option to add the shortcode to the ‘comment_text’ filter. Thanks!
    Okay, as of 12:45 est it now does escape comment emails (if they use this shortcode) however, it will only enable the escapeemail shortcode for comments, it will not run the comment text through any other shortcodes.

  8. John P.
    September, 19th 2008 at 12:23 pm

    Sweet. Works fine. Sometimes commenters just want to leave their email address so this will let me edit the comment and keep them relatively secure at the same time.

    Might want to just clean up the code and close the last php tag in the script. That and “protection” is misspelled in the script.

  9. Email Spam Protection » Blueberryware « A Guilt...
    September, 19th 2008 at 12:28 pm

    [...] Email Spam Protection » Blueberryware. [...]

  10. Ed B.
    September, 20th 2008 at 10:23 pm

    I will gladly support your Spam Protector (I use another program quite a bit on web sites) however, a couple of things I would like to see:

    1. Put a hook in the program so that it is on the WordPress Menu and it is in view while writing a post.

    2. Make it read the email address of the person that is logged in, especially the admin. Then all we need to do is press the button on the menu to insert the code automatically.

    Pretty lazy, I know but it is a thought. Your efforts are much appreciated by the blogging world.

    Thanks so much for the insight of some useful code.

  11. Blueberry
    September, 20th 2008 at 10:28 pm

    @Ed B
    Those are great ideas! I will try and implement them over the next couple days.

  12. Leonaut.com
    September, 21st 2008 at 5:45 am

    Email Spam Protection…

    Obfuscates your email. You need to enter the shortcode in your post….

  13. Carlton Bale
    September, 23rd 2008 at 3:15 pm

    Great plug-in! Unfortunately, I have some authors that don’t understand code and insist on leaving their e-mail addresses in posts.

    To protect them from themselves, is there a way for this plugin to scrape all posts and comments and convert any e-mail addresses into the javascript? Without using the [escapeemail] code?

    Thanks!

  14. My favourite Blog Posts » Weblog Tools Collectio...
    September, 24th 2008 at 4:45 pm

    [...] Email Spam Protection [...]

  15. Pariah S. Burke
    October, 16th 2008 at 12:22 pm

    Your code generator (http://blueberryware.net/email/) leaves out the @ symbol on final output. Thus it generates [name][domain].[tld], which, of course, fails to send an e-mail.

  16. Blueberry
    October, 16th 2008 at 12:30 pm

    @Pariah S. Burke
    I just tested it and I had no trouble, you did not leave a real email in your comment for me to contact you back with, however I would love to know the email you used to see if it is a bug. Thanks!

  17. ibonette
    December, 1st 2008 at 11:19 am

    thank you…
    ibonette

Leave a Reply


WP Login