how to put a variable in xul to a html page?

"Nero.Ping" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Organization http://groups.google.com
Message-ID <e115a717-172e-42ab-ba1c-91bf68283cd7@r16g2000prr.googlegroups.com>
Hi, all:
      I hope to put a variable in XUL to a special web page in my
extension. Just like the firebug put the console object to the page.
Then my page's js code can use some functions in the XUL.
      But I don't konw how to do it. who can give me a solution?
      thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.