Subj : Mozilla javascript context? To : netscape.public.mozilla.jseng From : Howard Chu Date : Sun Jun 27 2004 08:35 pm In older versions of Netscape (4.x, judging from available docs) there was support for writing message filters in Javascript. This support was removed subsequently. I'm interested in adding something like it back in, but I don't really have any idea where to begin. The XPConnect docs and JSAPI docs seem to be aimed at writing a standalone app that uses JavaScript, how to setup the runtime etc. But obviously Mozilla has already got a runtime and several contexts set up. Wouldn't it be smart to just grab an existing context for this purpose? How would you do it? .