Greetings. I tried to pick the appropriate group to send this message to, but I'm sure there is overlap. If you know others who could better answer these questions please let me know. Thanks for your help... I would like to modify Mozilla to record and play back web navigation events. I would like to be able to edit the events I record so that I can tailor the playback to "process" web pages having a particular format -- not just particular web pages. I expect that I would have to add events of my own such as events for loop and generic search initiation events. The problem that I have is trying to decide where the best place is to tap in to capture events. As I understand it, Client side JavaScript can only be inserted into the HTML of particular pages. And I fear that the interfaces that XPCOM makes public may be too far downstream of the processes that initiate events to be a good place to do this capturing. I followed event messages such as NS_MOUSE_RIGHT_BUTTON_DOWN up stream to where I found the corresponding events originated in nsQEventHandler and nsQBaseWidget. But these do not appear to be called or used elsewhere. Did I skip a beat or are there sections of code that are along for the ride but never used. I notice for example that nsIEventQueue.h is required by many files but it does not exist in the code that can be downloaded as a zip file or in the LXR listings. Could anyone suggest the best place to capture these events before the rest of Mozilla acts upon them? Is it practical to capture these events as far back as where the event queues are formed? That would be more convenient. It would be even more convenient if Client side Java Scripts could be associated with the browser rather than any particular web page HTML ... but I guess that is an impossibilty. Or is it? Could the JavaScript on one page provide the directions for web page navigation in other subsequent pages? I certainly appreciate any help. -- Wayne German
