Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Jscript to obscure emails from robots in HTML

By tcartwright,

This script will obscure email addresses from robots even ones that ignore the
tags to not snoop. Usually robots that ignore the tags, and the robots.txt file
are used by spammers. They pull down the SOURCE of your page and scrape the
email addresses from them. This script breaks the mail href into its base parts
and uses overloading so that you may call it with any of its parameters. I know
this forum is for SQL Server, but many of us output that data via web pages, so
I am posting this to help in the war against spammers. To test out, copy the
below script into an html file, and open with IE or Netscape with JavaScript
enabled. Spam Delenda Est

For more info : http://support.microsoft.com/default.aspx?scid=kb;EN-US;217103

Total article views: 74 | Views in the last 30 days: 1
 
Related Articles
FORUM

Monitoring script

script

FORUM

Script

Need Automated Script

FORUM

drop script

drop script

FORUM

Script component

Script component

Tags
miscellaneous    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones