Search Site:

About

Linux

Printers?

Programming

Windows?

Download

Skins

Edit - To Do - AllRecentChanges

Recent Changes Printable View Page History Edit Page

Programming.PmWikiMarkup History

Hide minor edits - Show changes to markup

Monday 04 July 2005, at 04:28 GMT+8 by testert -
Changed lines 47-49 from:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

to:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

(:comments:)

Monday 04 July 2005, at 03:02 GMT+8 by testert -
Changed lines 47-58 from:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

04 July 2005

11:01 by testert?!testing stuff.

No idea how this is going to be presented http://www.slashdot.org

http://www.slashdot.org

11:01 by testert?!Anotehr thest

(:commentboxchrono:)

to:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

Monday 04 July 2005, at 03:01 GMT+8 by testert -
Changed line 4 from:

The main issue with email on webpages is that they get systematically collected by spammers using web spiders.\

to:

The main issue with email on webpages is that they get systematically collected by spammers using web spiders.

Changed line 7 from:

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.\

to:

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.

Added lines 56-57:

11:01 by testert?!Anotehr thest

Monday 04 July 2005, at 03:01 GMT+8 by testert -
Changed line 4 from:

The main issue with email on webpages is that they get systematically collected by spammers using web spiders.\\

to:

The main issue with email on webpages is that they get systematically collected by spammers using web spiders.\

Changed line 7 from:

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.\\

to:

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.\

Changed lines 18-19 from:

Markup('email','directives','/\(:email\s(.*?):\)/e', "emailobfstcf('$1')");

to:

Markup('email','directives','/(:emails(.*?):)/e', "emailobfstcf('$1')");

Changed line 26 from:

Keep(">\'").

to:

Keep(">'").

Changed line 28 from:

Keep(":otliam\'=FERH a<';

to:

Keep(":otliam'=FERH a<';

Added lines 49-55:

04 July 2005

11:01 by testert?!testing stuff.

No idea how this is going to be presented http://www.slashdot.org

http://www.slashdot.org

Monday 04 July 2005, at 02:58 GMT+8 by Renaud -
Changed lines 47-49 from:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

to:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

(:commentboxchrono:)

Monday 04 July 2005, at 02:55 GMT+8 by Renaud -
Changed lines 10-11 from:

This directive is simply used in pmwiki as (email john@example.com:). The email address string will be stored as a JavaScript variable in reverse order and dynamically reconstructed when needed.

to:

This directive is simply used in pmwiki as (:email john@example.com:). The email address string will be stored as a JavaScript variable in reverse order and dynamically reconstructed when needed.

Sunday 19 June 2005, at 11:34 GMT+8 by Renaud -
Changed line 47 from:

That's all there is to it, (:email etc@nkadesign.com:) will simply become (:email etc@nkadesign.com:).

to:

That's all there is to it, (:email blah@example.com:) will simply become (:email blah@example.com:).

Wednesday 15 June 2005, at 18:12 GMT+8 by Renaud -
Changed lines 10-11 from:

This directive is simply used in pmwiki as (email john@example.com:). The email address string will be stored as a JavaScript variable in reverse order and dynamically reconstructed when needed.

to:

This directive is simply used in pmwiki as (email john@example.com:). The email address string will be stored as a JavaScript variable in reverse order and dynamically reconstructed when needed.

Changed line 47 from:

That's all there is to it, (:email etc@nkadesign.com) will simply become (:email etc@nkadesign.com).

to:

That's all there is to it, (:email etc@nkadesign.com:) will simply become (:email etc@nkadesign.com:).

Wednesday 15 June 2005, at 17:28 GMT+8 by Renaud -
Changed lines 4-9 from:

The main issue with email on webpages is that they get collected by spammers using web spiders to collect them automatically.
Good thing is that these robots are not that sofisticated and are usually able to identify well known email patterns only.

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.
Additionally, even if a robot could execute it, it would need to be quite complex to actually retain the output of the script to collect potentially interesting information.

to:

The main issue with email on webpages is that they get systematically collected by spammers using web spiders.
Good thing is that these robots are not that sophisticated and are usually only able to identify well known email patterns.

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.
Additionally, even if a robot could execute it, it would need to be quite complex to actually retain the output of the script and be able to collect potentially interesting information.

Wednesday 15 June 2005, at 17:24 GMT+8 by Renaud -
Added lines 1-47:

Obfuscated email

Throughout this site, I use email addresses that appear in clear to people browsing them.

The main issue with email on webpages is that they get collected by spammers using web spiders to collect them automatically.
Good thing is that these robots are not that sofisticated and are usually able to identify well known email patterns only.

I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML mailto: URL only when executed.
Additionally, even if a robot could execute it, it would need to be quite complex to actually retain the output of the script to collect potentially interesting information.

This directive is simply used in pmwiki as (email john@example.com:). The email address string will be stored as a JavaScript variable in reverse order and dynamically reconstructed when needed.

To use this new directive, simply copy the following into a file saved under cookbook/emailobfuscator.php: (:source lang=php:) <?php if (!defined('PmWiki')) exit();

  1. V1.0

/* Email obfuscation directive (:email me@home.com :) */

Markup('email','directives','/\(:email\s(.*?):\)/e', "emailobfstcf('$1')");

function emailobfstcf($Email){ $Email = strrev(trim($Email)); $l= Keep("<script language='JavaScript'> <!-- var m='>A/<"). $Email. Keep(">\'"). $Email. Keep(":otliam\'=FERH a<'; var n=''; for (i=m.length-1; i>=0; i--) { n += m.charAt(i); } document.write(n); //--> </script>"); return $l; } ?> (:sourcend:)

Don't forget to include a reference to it in your config.php file: (:source lang=php:) ...

  1. Include the email obfuscator script

include_once("cookbook/emailobfuscator.php"); ... (:sourcend:)

That's all there is to it, (:email etc@nkadesign.com) will simply become (:email etc@nkadesign.com).

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - Search - RSS -
Page last modified on Monday 04 July 2005, at 04:28 GMT+8 - Viewed 2014 times