Wednesday, December 26, 2007

Prevent email harvesting by scrambling your email address

Frequently, one may want visitors to our website to email us and the conventional method is to use a mailto: HTML tag like

<a href="">Contact me</a>

which will be displayed by web browsers as

Contact me

However, robotic email harvester will roam the web to harvest email address from such mailto: HTML tags for spam.

There are various ways to prevent this, some more effective than others. One of them is to scramble your email address such that you get a scrambled code like

<script type="text/javascript" language="javascript">
// Email scramble script provided by
{ coded = "wCUvvpdbUdRGKKTph@vKITC.AUK"
key = "sKnQ938wjUCOqGJfaxMZiHd2vANhe1ySWB0EmkY6ztbIol4TuRXVFP7pDrLgc5"
for (i=0; i<coded.length; i++) {
if (key.indexOf(coded.charAt(i))==-1) {
ltr = coded.charAt(i)
link += (ltr)
else {
ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
link += (key.charAt(ltr))
document.write("<a href='mailto:"+link+"'>Click here to email me</a>")
</script><noscript>Sorry, you need Javascript on to email me.</noscript>

Pasting the scrambled script will cause web browsers to display a link as shown below:

Note: There is some problems. After publishing this post, the "Click here to email me" did not display in FireFox 2.0. It should work if Javascript is enabled, and it is enabled as if Javascript is disabled, you would not be able to see the Google advertisements in this blog.

Viewing this post in Internet Explorer 6 resulted in the following problem. Error message was displayed when trying to load the page in Internet Explorer 6:

Problems with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.

Error:Syntax Error
Code: 0

Clicking on the "no entry" Icon in the task bar resulted in this Privacy Report:

Based on your privacy settings, some cookies were restricted or blocked.

Web sites with content on the current page:


Monday, December 24, 2007

Safety tip: place handle of hot pots, etc., inward

Here is a simple safety tip: when you have hot stuff in a pot, frying pan, etc., always place the handle inward, towards the table or other flat surfaces instead of sticking out. In this way, you can avoid scalding by hot stuff if someone accidentally knock on the handle and cause the hot stuff to pour out onto your body parts. Simple but effective. All you need to do is to remember to do it.

Sunday, December 23, 2007

Resize or crop photo without photo editor or download any program

I have always used the very good and free (donation welcomed but not compulsory) Irfanview photo editor to resize photos, screenshots, other images. I have even used it as an aid to resize Youtube video to fit into the width of blog posts (main column), and also for sidebar.

But you don't want to download programs, but still want to resize photos. Go to Online Image Resizer. Nothing to download. All done online. Just click BROWSE and locate the image saved in your computer you want to resize.

online photo resizer entry form

There are various alternatives to resize the image. You can enter the width (in pixels) you want your image to be resized to. Leave the height alone to preserve the aspect ration constant (keep image undistorted). Other alternative to to enter the height and leave the width alone. If you enter both, you will get exactly what you input, but if you entered the wrong figures, your image will be distorted (aspect ratio changed). You can also rotate the image if necessary. Once you are ready, just click OKAY and your resized image will appear with a dotted box.

resized image with Online Image Resizer

If you are satisfied with the image as it is, just right-click on the mouse outside the dotted box (for cropping) and select "Save" and save the resized image into your computer.

You may also crop the image if you want to. Hover your mouse over the dotted box and drag it to the part you want to crop. If you want to change the size of the dotted box, press the shift key and the left button of the mouse simultaneously, and the cursor will change to a double arrow head (see image at the left). Just drag the mouse until you get the size you want to crop and click the "Crop it" button at the top of the image. (note: I had no success as when I did that, I got the error message "404 not found!. Error file does not exist!. Select an image 1st. Please go back and try again!". Reason: "Please note that the crop option only works with DHTML enabled browsers!" So looks like my browser is not DHTML enabled)

Looks like I will stick to my trusty old Irfanview photo editor. This Online Image Resizer offers no real advantage and is not interesting to me.

Saturday, June 23, 2007

Clean leather shoes with banana peel. Environmentally friendly

Use the inside of the banana peel to clean your leather shoes. Then wipe and buff off with a piece of cloth. An environmentally way of cleaning leather shoes.

Sunday, April 29, 2007

How to do mass mailing without revealing the email addresses of recepients

I have a blog Blogger Tips and Tricks which is pretty popular with bloggers using the Google Blogger platform and which they found indicated by the comments and the emails I received. For example, this comment left by a reader: "Your text is very well explained and leaves no doubts about the use. I'm finding your site very useful and easy to follow. Thanks for your help!". Further, today, to my suprise and delight, I received an email from a DMOZ (Open Directory Project) editor, saying he found my blog informative and have listed it in the directory, and I didn't even submit my blog to DMOZ! You can read about it here: DMOZ, the most important and most difficult directory to get listed - Blogger Tips and Tricks got listed even without submiting.

Anyway, this blog gets lots of request for help in the comments as well as by a special email meant for blog visitors to contact me. I use gmail for blog readers to contact me, and with gmail, email addresses of people who contacted me via that email address are automatically added to the contact list. I have a long list of email addresses in the contact list, the great majority of which were obtained from emails requesting for help with Blogger. Anyway, I make all links to external sites open in new windows, and there are views that it is back practice as it irritates visitors and may discourage return visits. Anyway, I set up a poll to get the blog visitors views and if you are interested in voting (I hope you would do that) or if you are just interested in viewing the result, visit Real Poll: Should links to external sites open in new windows?. It is also a post to show how a poll can be set up.

I was genuinely interested in the result and was hoping for a wide participation. I though it a good idea to mass mail those in the contact list as the majority had received help from me and I thought a request to participate in the poll is not too much to ask in return for the favour. I realise too late that by doing so, I am exposing the email address of all those in the list. Some complained, and one apparently replied to all, which caused further upset. One demanded I sent out an email to all those receipients apologising for my mistake, asking them not to reply to all, delete the original mail and delete all the email addresses from their contact list. Well, I am the type who are willing to be corrected and to apologise if I make a mistake, but don't want to repeat the same "wrong" by mass mailing and exposing the email addresses again. He taught me to us put the email address via the "Add BCC". I had to copy-paste the email addresses of all those in the list into Notepad and tried to send out the mail that way. Unfortuantely, it returned an error message saying some email addresses in the BCC was not well formed (or something to that effect). I did some testing and found out that it would work if you add a comma to the end of each email address. I did that and successfully sent out the apology without the email address being revealed. So I think this is a good tip for you if you ever want to mass mail people in your contact list, but don't want to expose their email address.

Tuesday, March 20, 2007

5 Tips When Choosing Multiple Domain Hosting

5 Tips When Choosing Multiple Domain Hosting
by: Ricky Lim

If you have or are planning to have several domains running on the web, then you should consider getting a multiple domain hosting. Multiple domain hosting allows you to host several domains under a single hosting plan. Most web hosting companies call it shared hosting.

The main advantage of multiple domain hosting is it helps to consolidate all your domains under one hosting plan. It makes domain management a breeze. It also makes it easier to modify any settings since you are doing it from the same control panel.

Here are a few tips you might want to bear in mind when looking a shared hosting service.

Hard Disk Space

Nowadays most shared web hosting plans provide more than enough disk space to satisfy your needs. It is important you know before hand how much disk space your web site will be using not just currently but projected 6 months, 1 year and 2 years down the road.

Some web applications requires more disk space than others. One example are file hosting sites. Also remember to check the cost of upgrading your disk space in case you need one. Most web hosting providers charge on a per GB basis.


Most web hosting providers cap a limit on each hosting plan’s bandwidth. Check to make sure it provides sufficient bandwidth for your current websites and also room for growth. Most web hosting providers will charge you on a per GB basis for exceeded bandwidth.

The speed is also important for websites. No one wants to visit a website that loads slowly. File hosting and video sites for example requires an acceptable speed in order to deliver file download or streaming video.

Number of Domains Allowed

Some web hosting limit the number of domains for each hosting plan. It is best to get one with unlimited domains so you have to worry about the limit.

Emails/FTP accounts

You probably will need separate email accounts for each domain you have. Most web hosting services provide webbased or as well outlook based email accounts. Preferably try to get one that has unlimited email/ftp accounts.

Ease of control panel

With many domains, emails, ftp accounts etc to manage, it is important that the control panel is easy to use and all information can be accessed easily. Most web hosting services provide cpanel. Some web hosting services do use their own customised control panel. A good example is godaddy.

Whichever control panel you are using, familiarize yourself with the interface and get used to it as fast as possible.

About The Author
Ricky Lim runs a cheap web hosting reviews site. Visit his site for more information on free web hosting services and cheap web hosting services

Thursday, March 15, 2007

How to get out a cork inside a bottle

If a cork is inside a bottle, just how can we get it out? Well, if you want the answer, just watch the video:

The Hole - video powered by Metacafe

Saturday, March 10, 2007

I think therefore I am

I think therefore I am
Originally uploaded by bloggerfordummies.
Testing blogging direct from flickr as part of preparation for this post Adding images to your Blogger post

Also, hoping the cartoon will help creat environmental awareness. Hope you will visit Enviroman Says. And while the cartoon copyrighted, you are free for you to use, but a link back to my blogs will be required.

Friday, March 9, 2007

Planning an advertising campaign in London? Before embarking on one, it is wise to check directories first

Are you or your company planning an advertising campaign in London? Here is a good tip. Do some research first. Find out more about the resources that is available to you. A good place to start researching online is London Advertising Directory.

You can find over 900 links in London Advertising Directory organised into 12 categories -
Advertising Agencies
Events & Related Agencies
Market Research and Related Agencies
Public and Media Relations
Audio and Video Services
Graphic and Related Services
Marketing Consultants, etc.
Replication Services
Direct Marketing
Interactive Advertising & Related
Photography and Related Services
Signage & Promotion Related Services

which are further organised into sub-categories. With this wide choice of services availble for you to research online, I am sure you can find what you need for your advertising campaign.

Monday, January 29, 2007

How to get rid of tea stains

Got a good tip from my daughter yesterday on how to get rid of tea stains.


My nickname on the net is enviroman and my first blog is Enviroman Says. I am retired and glued to the computer most of the time. Occassionally I take a break from the computer and walk around the house or drink Chinese tea. It is supposed to be healthy (see English tea is a healthier drink than water). Now I have told my family to reserve one particular mug for me, so no one else uses it except myself, and it is mainly used to drink tea or water. I see no need to use dishwashing liquid to wash it as I believe a good rinse with water is good enough. After all, no one else except me uses it. Furthermore, by doing this, I don't add to the pollution of the drains and the rivers and an added bonus is I save some dish washing liquid plus some money. However, the result is that the mug is stained with tea stain. I see no harm in it though. It is only tea stain and should not have any effect on my health.

Tip: Getting rid of tea stains

My daughter told the maid to soak the mug with salt water for one day, then wash it. Sure enough, this morning, I saw the mug is snow white - no tea stain.