| Q: How does a JavaScript program hide an email address?
A: The design of every webpage on the internet is written into "source code". The source code is the "blueprint" that your browser reads in order to display a given web page. It is also the code in which the bots search for email addresses. The bots are dumb, and collect anything attached to an "@" sign, thinking it may be an email address. So, instead of writing out our email address in the source code in a standard form (i.e., user@domain.extention), the JavaScript in our source code splits up the parts of the address on different lines. Since our address is now separated from the @ sign, the bot gets an incomplete email address, and we get no spam. When you click on an email link on our web page, your browser is able to read the JavaScript to sucessfully assemble a link to our email address on your screen. Cool, huh? |