Subj : JSPropertyOp To : netscape.public.mozilla.jseng From : Jochen Stier Date : Mon Aug 30 2004 11:14 am Hi everyone, I am creating a class with the addProperty stub in the JSClass structure set to my own function. When I call JS_InitClass with a non-empty JSPropertySpec structure then the addProperty stub is called for each property in this structure. This is not quite what I am looking for. What I really want, is only to detect when the user adds a property from within the script. I therefore would like to assign a function to the addProperty stub after the class has been initialized. Is there a way to do that ? Thx Jochen .