Loop over the HTTP_USER_AGENT.





<cfset BrowserList = "Mozilla,Opera> This could be in a database also. That
away if you're not listing one you can easily add it.





<cfloop List="#BrowserList#" Index="Browser">



  <cfif HTTP_USER_AGENT CONTAINS Browser>



   

        Call the _javascript_ function to launch the mailto: link



      



   <cfbreak>



  </cfif>



</cfloop>







Give them a way to close this window.



<ahref="_javascript_:parent.window.focus();top.window.close()">Close
Window</a>



  _____  

From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 10:37 AM
To: CF-Talk



I like this idea, as the email addresses are already in a db.  I guess I'm
trying figure out how I would write to check for the browser in this
scenario.

Thanks, Mark

-----Original Message-----
From: cfhelp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 11:09 AM
To: CF-Talk
Subject: RE: Settle an argument for me


OK here is a thought...



Instead of masking put the email address in the database. Then build a small
page that pulls the email and launches the email program. To keep a bot from
following the link, confirm that the browser contains Mozilla, MSIE or Opera
(any others), or place a dynamically named cookie on the browser and then
check for it.



Your link would just be <a href="">




Rick



  _____  

From: Randell B Adkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 9:52 AM
To: CF-Talk



Instead of displaying the email address, why not create a contact form
therefore they would not see the actual email address.

However, I do as well mask my email addresses using JS and such.
But at times I use the forms to eliminate that possibility.

My 2 cents...



>>> [EMAIL PROTECTED] 10/01/03 10:51AM >>>
I would say no. But you need to ask yourself. Are these Spam bots
smart
enough to reverse the extended chars? If they are setup with this type
of
function, then yes I would say they are still picking them up.

I would say "this is just a guess" they are not doing this type of
function
while gathering emails.

Shawn Regan
Head Applications Developer
pacifictechnologysolutions

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 7:37 AM
To: CF-Talk
Subject: Settle an argument for me


I've been using a UDF called "emailAntiSpam", which replaces an email
address in the source code with extended characters which supposedly
can't
be crawled and picked up by spambots.

So my address:  [EMAIL PROTECTED] would look like:

<a
href=""> &#101;&#97;&#114;&#108;&#121;&#119;&#104;&#105;&#116;&#101;&#115;&#109;&#105
;&#108;&#101;&#46;&#99;&#111;&#109;" target="_blank">Notify the
Webmaster</a>

My problem, my client thinks they are still being picked up and used
for
spam - I also have a robots.txt file set to disallow bot crawling.

I've had both these in place since day one, when the site was posted
about 3
months ago.

Does it actually work?

Thanks, Mark


  _____  

[ Todays Threads



  _____  

[Todays
  _____  




  _____  

[Todays
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to