Martin Kremer wrote:
I am developing an extension for Firefox.
I am trying to get Content (the page the browser is currently displaying).
I use the WindowWatcher to get the active window (getactivewindow).
But the Document itself (queried the DOMNode Interface),
getelementbyid("content"), and getelementbyid("appcontent") all seem to
return the elements of the user interface and not the actual web page.
I think if the you have the active window then
activeWindow._content
or
activeWindow.content
gives you the browser content window.
--
Martin Honnen
http://JavaScript.FAQTs.com/
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom