I am having issues with the Mozilla development platform and am getting tired of XPCOM.
To simplify this mess I want to place the path to the program installation directory in a JavaScript string. I know that JavaScript is not supposed to be able call the OS to get file information for security purposes, right?
If so, what technology/language could I start looking at to put the directory path in a string?
I don't want to have to hardcode this string: it would be nice to make some function like getCurrentDirectory. For example, in C, the #include statement first looks in the file where the executable lives and "knows" that path. That sort of path information is what I want.
-Bones
To simplify this mess I want to place the path to the program installation directory in a JavaScript string. I know that JavaScript is not supposed to be able call the OS to get file information for security purposes, right?
If so, what technology/language could I start looking at to put the directory path in a string?
I don't want to have to hardcode this string: it would be nice to make some function like getCurrentDirectory. For example, in C, the #include statement first looks in the file where the executable lives and "knows" that path. That sort of path information is what I want.
-Bones