Marie Kesquetta wrote: > I can't find a way to determine what window generated the request. How > do i do so ? Is it at all possible ?
Try calling getInterface(Components.interfaces.nsIDOMWindow) on the channel's notification callbacks, and if that fails, the channel's loadgroup's notification callbacks. That should give you the window you want. Keep in mind that some requests don't have an associated window. -- All the world's a stage, And all the men and women merely players: They have their exits and their entrances; And one man in his time plays many parts, [...] --W. Shakespeare _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
