Subj : Re: Using JSClass to implement ActiveXObject To : netscape.public.mozilla.jseng From : David Bradley Date : Mon Jul 14 2003 04:32 pm Brad wrote: > I'm using SpiderMonkey on Win32 and have created a JSClass (via > JS_InitClass) to replicate the behavior of ActiveXObject. As far as I can > tell this is not part of the script engine, but perhaps this code is > available somewhere already written and public domain, please let me know. > If not, I'll continue with my post... Most of the work has already been done, as Brendan mentioned. If you can live with the GeckoActiveXObject naming, then you just need to enable it in the profile. You can enable on a per component per site basis and can operate in a while list or black list mode. Adam Lock's document has the information on how to do this: http://www.iol.ie/~locka/mozilla/plugin.htm. You'll want to read through that. If you still have questions stop back here and post them. There's a few things that need to be completed. Default parameters, object call semantics, and support for the property "object" as in anObj.object. David .