Programming.PmWikiMarkup HistoryHide minor edits - Show changes to markup Monday 04 July 2005, at 04:28 GMT+8
by -
Changed lines 47-49 from:
That's all there is to it, to:
That's all there is to it, (:comments:) Monday 04 July 2005, at 03:02 GMT+8
by -
Changed lines 47-58 from:
That's all there is to it, 04 July 200511:01 by testert?!testing stuff.No idea how this is going to be presented http://www.slashdot.org http://www.slashdot.org11:01 by testert?!Anotehr thest(:commentboxchrono:) to:
That's all there is to it, Monday 04 July 2005, at 03:01 GMT+8
by -
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 to:
I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML Added lines 56-57:
Monday 04 July 2005, at 03:01 GMT+8
by -
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 to:
I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML 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:
Monday 04 July 2005, at 02:58 GMT+8
by -
Changed lines 47-49 from:
That's all there is to it, to:
That's all there is to it, (:commentboxchrono:) Monday 04 July 2005, at 02:55 GMT+8
by -
Changed lines 10-11 from:
This directive is simply used in pmwiki as to:
This directive is simply used in pmwiki as Sunday 19 June 2005, at 11:34 GMT+8
by -
Changed line 47 from:
That's all there is to it, to:
That's all there is to it, Wednesday 15 June 2005, at 18:12 GMT+8
by -
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 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, Wednesday 15 June 2005, at 17:28 GMT+8
by -
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. 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:
The main issue with email on webpages is that they get systematically collected by spammers using web spiders. I've been using a short JavaScript snippet that I use in the source of webpages to dynamically write the proper HTML Wednesday 15 June 2005, at 17:24 GMT+8
by -
Added lines 1-47:
Obfuscated emailThroughout 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. 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. 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
/* 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
include_once("cookbook/emailobfuscator.php"); ... (:sourcend:) That's all there is to it, (:email etc@nkadesign.com) will simply become (:email etc@nkadesign.com). |