|
|
Meta Cloak
Protect your information and media from copyright violation! This script requires SSI. With the use of SSI you can render meta tags invisible to human users. Spiders, the robots that visit and index your web site, will not be effected.
How it works.
SSI is parsed by the server before being transmitted to the end user. By declaring the HTTP_USER_AGENT variable, the script tells the server to print the meta tags to the page only if the visitor is a spider or robot. Specifically, the server will print the tags if the client (browser) is not Internet Explorer, Netscape or Opera. After uploading to your server, remove one of the lines to test the script. For example, if you are using Internet Explorer, remove this line :
<!--#elif expr="$Agent = /MSIE/" -->
then view the source code of the page you just uploaded. Put the line back in it's place, upload the page, then view the source code again. You will notice that you can not see the Keyword and Description Meta tags. Need to hide other valuable source code? Contact us with your requirements. We can develop custom cloaking applications to suit your needs.
<meta name="Cloak" content="PerlScriptsJavaScripts.com Cloak On">
<meta name="copyright" content="2001, PerlScriptsJavaScripts.com">
<!--#set var="Agent" value="${HTTP_USER_AGENT}" -->
<!--#if expr="$Agent = /en/" -->
<!--#elif expr="$Agent = /MSIE/" -->
<!--#elif expr="$Agent = /Opera/" -->
<!--#elif expr="$Agent = /Netscape/" -->
<!--#else -->
<meta name="Description" content="Type your description here">
<meta name="Keywords" content="add, your keywords, here">
<!--#endif -->
Place the code in between your <head> and </head> tags. You must leave the "Cloak" and "Copyright" meta tags in place, as per our policies.
|
|
|