title: javascript WMI queries with firefox /chrome?
body: <p><em>goal : get the processor ID by WMI :</em> </p>
  
  <p>ive managed to make it work in IE : by</p>
  
  <pre><code>var strComputer = ".";
      var SWBemlocator = new ActiveXObject("WbemScripting.SWbemLocator");
      var objWMIService = SWBemlocator.ConnectServer(strComputer, "/root/CIMV2");
      var strProcess;
      var colItems = objWMIService.ExecQuery("select * from Win32_Processor");
  
      var e = new Enumerator(colItems);
      for(; ! e.atEnd(); e.moveNext())
      {
          strProcess =  e.item().ProcessorId;
      }
  
  
      alert( strProcess)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ybsqq.gif" alt="enter image description here"></p>
  
  <p>However- this wont work in FF/chrome since they not support ACTIVE X.</p>
  
  <p>what is the alternative in FF / chrome ?</p>