Any programs here have two purposes: 1) to show my knowledge and skill with modern programming tools and methodologies, and 2) to share their functionality with others. You may use them freely with no restrictions. If you use the source code elsewhere it is considered polite to give credit where credit is due, but I will not haunt you if you choose to claim them as your own. Your only punishment will be that you will have to live with yourself.
Speaking of credit, that nifty line at the top was courtesy of MS Word 97. I was playing with Word as an HTML editor and it offered that as an alternative. When I inserted it in this document it dropped a copy of the .gif file in the directory where this document was. Neat, eh?
There may be more programs here in the future. For now there is just the one:
Program to hide email addresses I was presented with a problem by my son. He wanted to have a web site for a fraternity chapter alumni association. He wanted to have email addresses on this page, but he did not want them found by SPAMmers. He asked me how to go about putting a password on the web page. After some thought I figured out that this probably wouldn't help.
The problem is that the web-crawlers that go looking for email addresses are not browsers. First they find home pages. They scan the pages for text that looks like email addresses. They also look for URLs to other pages. They follow those links, again scanning the page for email addresses. Because they are not browsers, they don't have problems with the password. They just get the text for the page and scan it.
The solution I came up with was to use JavaScript to create the text of the page on the fly from data stored in such a way that it does not look like an email address. If my assumptions are correct then this code will protect those addresses. He was not concerned about protecting these addresses from human eyes, so real passwords were not an issue.
No attempt was made to optimize this code for speed of loading or running. With just 3 names in the list it runs very fast. I suspect it will scale up to a few thousand names without having performance problems. It uses a built-in sort method. It is pretty plain. You would probably want to spice it up a little with various fonts, etc. The main objective here was clarity of the functionality. It does include production of local anchors that allow rapid access to the entries from the top of the page.
Source for the Program to hide email addresses