Hi all,

I need to listen to every action that wants to open a new browser
window, to get its URI and create new window.
I tried to registerNotification() on nsIWindowWatcher, but it seems
that it is called when window is already opened.
Also found, that link-clicks can be catched by replacing
nsILinkHandler, but in my position its imposible (I use JavaXPCOM,
which doesn't have such interface), anyway I'm afraid it wouldn't help
- I need only target="_blank" links...

I currently get no action when such 'opening window event' happens
(maybe because it's not implemented in the java SWT browser widget I'm
using). What should I do to get it working?


bart
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to