I wrote some javascript to get my windows users name using activex. When I save this to my desktop it runs fine. The moment I deploy it to apache2 running on Ubuntu 12.10 it doesn't display anything.
HTML Code:
    <script language="javascript">
        function GetUserName()
            var wshell = new ActiveXObject("WScript.Shell");
<body OnLoad="GetUserName();">
Am I doing something wrong or missing anything?