Re: mismatch on script tags by getElementsByTagName and XPath
Boris Zbarsky <[email protected]> Tue, 19 Jul 2011 11:47:05 -0400
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
On 7/19/11 11:20 AM, legrass wrote: >> How are you retrieving it? > > webBrowser.getContentDOMWindow().getDocument().getElementsByTagName(tagname) Odd. That should do the same thing as getElementsByTagName in the browser. On the other hand, if your embedding is not sending the same exact UA information as Firefox, the page could just be running different code. -Boris