17-May-2003

Some JavaScript Removed

Having vanilla installations of OpenVMS around is sometimes interesting for web development because it comes with a very old version of Netscape Navigator installed as the default browser. Of course there are more modern browsers available, but you have to install them and then make them the default.

This old version of NN doesn't support JavaScript particularly well. Additionally, lots of OpenVMS systems managers disable JS because of lingering security worries from the early days of its development. So, when writing for the OpenVMS community, it's wise to make sure your web pages can be viewed without JS support.

To this end, I have removed the JS that was doing the random text in the upper right corner of each page. Previously, I had inserted a <noscript> section, but it was a real kludge, involving a perl script running when the page was rebuilt, so the text was static after the rebuild was performed.

Now I have a nice server side include to do the random content generation every time a page is loaded.

See? Insomnia is good for something.

Posted at May 17, 2003 9:00 AM
Tag Set:

Comments are closed