Hide your email address on your website from spam harvesters

Thanks to my pal Dawie from davisdmit.za.net for discovering this nice method for hiding your email from spam harvesting bots.

Chances are that if you run a website that you would like to display your email address on your site for people to be able to contact you, problem is that as soon as you add your email address spam hervesting bots can crawl your email and bombard you with all kinds ons unwanted emails.

Great news is there is a way to display your email as you would type it into your mail client without spam harvesting bots being able to pick it up. All that is required to view the email address is a javascript enable browser. The code makes use of calling your email address in unicode format that is unreadable to bots.

To display the email address info@test.co.za on your site you would simply call this script:

<script type=”text/javascript”>document.write(‘\u0069\u006E\u0066\u006F\u0040\u0074\u0065\u0073\u0074\u002E\u0063\u006F\u002E\u007A\u0061′);</script>

To convert your email address to unicode for display on your website head on over to AuditMyPc’s Free Adress Finder page and use the converter to convert your email address to a human readable, bot unreadable format.

Fun with Google Images

So want to have some fun with Google Images? Try the following.

  1. Go to http://images.google.co.za
  2. Search for any image you like
  3. After search is complete enter the follow into you addressbar:

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position=’absolute’; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval(‘A()’,5); void(0)

Press enter and enjoy the show.

Please not I have only tested this on FF not sure if it works on IE.

MSSQL 2005 Drop all database connections

So after some struggling with Microsoft SQL Server 2005 not allowing me to run a script that drops a database and recreates it again because there is still active connections on the database I came up with this solution.


USE master
GO
ALTER DATABASE database name
SET OFFLINE WITH ROLLBACK IMMEDIATE
ALTER DATABASE database name
SET ONLINE

  • Page 2 of 2
  • <
  • 1
  • 2
Afrigator SA Topsites ::