Hook DOM APIs

[email protected]
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <619bc0e2-9561-490d-9e08-07b60a42184f@r38g2000prr.googlegroups.com>
Hi everyone,

I am a newbie in this area. I am thinking about a way to monitor an
arbitrary DOM object access. For example, if document.cookie has been
monitored, a notification will be generated whenever a javascript code
is trying to access the cookie.

Does this require modification of the firefox browser source code? If
not, what are the easier ways to do it? If it does, could anyone give
me some advices on how to make the right code changes at the right
places?

Thanks a lot!
Canny
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.