document in firefox extensions

Roel <[email protected]> Sat, 25 Sep 2004 15:14:22 +0200
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
Hi all,

First, sorry if this is the wrong list. It's the best I could find, though.
I have a question about writing extensions for Firefox. I have a 
toolbarbutton and a function that is called when that button is clicked. 
Now, from within that handler, I have to use window.content.document to 
get to the dom of the page that is displayed. But there is also a 
'document' variable. What is the difference between the two? Thanks.

cheers,

roel


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php