Above command get next 3 lines
[[
anyabcdefg@longmail.com
Above email address is fake, let spam robot to collect.
Please delete [any] and [lon] before send email.
]]
Second four parameter, three real data,
one disguise string [a2z]
Above command get next 3 lines
[[
a2zabcdefg@a2zgmail.com
Above email address is fake, let spam robot to collect.
Please delete two string of [a2z] before send email.
]]
Third three parameter, three real data,
no disguise string.
Above command get next 1 line.
abcdefg@gmail.com
//9805102011
/**/
//9805101917
function emailfen(pem1,pem2,pem3,pem4,pem5)
{ // EMAIL Function ENglish
if(arguments.length<3){document.write('threeParameter@required.net');return;}
if(arguments.length>5){document.write('fiveParameter@maximum.com');return;}
//9805101945
if(arguments.length==5)
{
document.write(pem1+pem2+String.fromCharCode(32+32)
+pem3+pem4+String.fromCharCode(30+16)+pem5
+' Less junk/spam mail'
+'
Above email address is fake, let spam robot to collect.'
+'
Please delete ['+pem1+'] and ['+pem3+'] before send email.
'
);
return;
}
if(arguments.length==4)
{
document.write(pem1+pem2+String.fromCharCode(52+12)
+pem1+pem3+String.fromCharCode(32+14)+pem4
+' Less junk/spam mail'
+'
Above email address is fake, let spam robot to collect.'
+'
Please delete two string of ['+pem1+'] before send email.
'
);
return;
}
document.write(
''
+pem1+String.fromCharCode(100-36)+pem2+String.fromCharCode(60-14)+pem3
+' Less junk/spam mail'
);
return;
} //9805101931 //9805102000
//-->
<a name=doc01>
2009-05-10-20-27
If one display a real email address on a web
page, that allow spam robot to collect email
address from source code. spammer sell the
email address. Victim will receive hundred
junk mail daily. This program
http://freeman2.com/emailfen.htm
help you to disguise your email address.
<a name=doc02>
First in source code never show up '@'.
This method will repel most spam robot.
Second, use disguise string. You, web page
owner, decide what disguise string to use.
The following example use 'any' and 'lon'
as five parameter disguise string. Use 'a2z'
as four parameter disguise string. Program
also allow no-disguise three parameter input.
Hope this program will help you reduce spam
mail. Good luck.
<a name=doc03>
How to use?
Open source code of
http://freeman2.com/emailfen.htm
find
<script language="javascript"
type="text/javascript">
<!--
up to
} //9805101931 //9805102000
//-->
</script>
total 87 lines.
<a name=doc04>
Put it in <head>
or
Put it in <body> before first use
display-email-address
then where need to show email address,
just follow the following example.
LiuHH. 2009-05-10-20-35.
<a name=doc05>
Assume real email address is
abcdefg@gmail.com
cut it into three sections
abcdefg
gmail
com
Use above three sections as following example shown.
<a name=doc06>
<script language="javascript">emailfen('any','abcdefg','lon','gmail','com')</script>
Above five-parameter command get next three lines
[[
]]
<a name=doc07>
<script language="javascript">emailfen('a2z','abcdefg','gmail','com')</script>
Above four-parameter command get next three lines
[[
]]
<a name=doc08>
<script language="javascript">emailfen('abcdefg','gmail','com')</script>
Above three-parameter command get next one line.
<a name=doc09>
<script language="javascript">emailfen('abcdefg','gmail')</script>
Above two-parameter command get next error message line.
<script language="javascript">emailfen('abcdefg','gmail','abcdefg','gmail','abcdefg','gmail')</script>
Above six-parameter command get next error message line.
2009-05-10-19-36
<a name=doc10>
2009-05-11-17-21 start
If spammer write program to decode emailfen()
and get real email address, then your junk mail
increase. Your reaction is to change your program
change all string "emailfen(" to "del_knuj("
where "junk" reverse to "knuj". If on Internet
only you use function del_knuj(), then spammer
is unable to include "del_knuj(" into his
program, then you get protection.
In fact, if you decide to use this program
"emailfen()", LiuHH suggest you
change all "emailfen()" to "del_knuj()" or
other strange function name. If very few page
use "emailfen()", then spammer can not do any
thing effectively.
2009-05-11-17-33 stop
<a name=doc11>
2009-05-12-15-12 start
Above function emailfen() has two disadvantages.
First, function name contain 'email' which
capture spammer's attention.
Second, function emailfen() take care
two parameter upto six parameter
conditions. If user decided preference
only one condition is used, then code
for other condition never used.
Following is
three parameter function par3e(p1,p2,p3)
four parameter function par4e(p1,p2,p3,p4)
five parameter function par5e(p1,p2,p3,p4,p5)
avoid above two disadvantages.
Define function just once, call it many times.
Must define function before first time use it.
Please open this file emailfen.htm source code,
use par3f() or
use par4f() or
use par5f() .
2009-05-12-15-20 stop