As the error states, it is on the first line:
var xniff = new ActiveXObject( "w00t.Xniff" );
The only thing which can be wrong with it is that the ActiveX is _not_ properly registered.
Locate the Xniff ActiveX ocx and then register it using regsvr32 as SpunkyLoveMuff said.
regsvr32 "C:\path_to_xniff\xniff.ocx"
PS:
quote:
Originally posted by SpunkyLoveMuff
Make sure you have the file in the right folder
It does not matter where ActiveX DLLs or OCXs are located. Partially the point in them needing to be registered is that they can be located elsewhere. Registering such an ActiveX adds an entry in the registry to the location of the ActiveX. So it can well be located anywhere on your hard disk, it doesn't need to be in the same directory as the program it uses.