Re: Access html page content via XUL

Christian Biesinger <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpcom
Message-ID <[email protected]>
William JOYE wrote:
> I would like to build an application that can interact with the browser
> content (for example the cookies in the html page). First, is it possible ?
> I have tested the cookie but have always the message "undefined" when I use
> 'document.cookie' in my javascript.

Not sure if I understood you correctly, but I think you want 
"content.document.cookie".


Setting followup-to npm.dom
-- 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
                                                  -- Benjamin Franklin
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.