Unable to get the document object for the main page of certain sites in Opera
We are building an opera extension in which we are trying to use the document object property (document.body.innerHTML) in order to obtain the source of the main page of a site. In most cases it provides us with the correct page source but for certain sites (ones that have multiple document layers), it doesn't return the top most document.
For instance, for the site (https://www.pcisecuritystandards.org/) we would like to source for the main page that is displayed but
once the entire page is loaded, the document property would display the source for another layer (https://s7.addthis.com/static/r07/sh...rev=86981&xd=1)
This perhaps has to do with how opera loads the document layers in a page. We did not face any issue with any other browser
How can we obtain the source of the main page (https://www.pcisecuritystandards.org/) using the document object in Opera ?