SetFocus

2011-07-19 Thread Jigu
Hi All, I have develop a simple HTML rendering application in VS2005 using Mozilla embedding (MozView and MozViewListener). As a start with, i have created a dialog based application in VC++ where i render simple HTML table on dialog/window. Now i am adding rows dynamically in my table and

Re: mismatch on script tags by getElementsByTagName and XPath

2011-07-19 Thread Boris Zbarsky
On 7/19/11 8:55 AM, legrass wrote: On that page, http://www.dixonvince.com/ either using Firebug (on Firefox 3.6.17) or XPath I match 31 tags script. After the page has loaded and the scripts have run, right? However, in my java code (xulrunner 1.9.2), if I retrieve the nsIDOMDocument and

Re: mismatch on script tags by getElementsByTagName and XPath

2011-07-19 Thread legrass
Hi Boris, thanks for your answer. On Jul 19, 2:17 pm, Boris Zbarsky bzbar...@mit.edu wrote: On 7/19/11 8:55 AM, legrass wrote: On that page, http://www.dixonvince.com/ either using Firebug (on Firefox 3.6.17) or XPath I match 31 tags script. After the page has loaded and the scripts

Re: mismatch on script tags by getElementsByTagName and XPath

2011-07-19 Thread legrass
On Jul 19, 4:47 pm, Boris Zbarsky bzbar...@mit.edu wrote: 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. Is there a way I can modify the user agent? btw, the three pages on which I have the same