Monday, February 06, 2006

JavaScript Security

This is an interesting one for you; now I have the ELIZA-style web page running over the desktop (thanks to webXtra), and I have coded the "name save" dialog box, you'd think that it would be easy for the chat program to read the name file and begin the conversation with "Hello (name)".

WRONG!

JavaScript has incredibly tight security rules that do not allow any reading or writing of text files by design. Bugger.