Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: 80 | Views in the last 30 days: 2
 
Related Articles
FORUM

Monitoring script

script

FORUM

Script

Need Automated Script

FORUM

drop script

drop script

FORUM

Script component

Script component

Tags
miscellaneous    
 
Contribute