There's an extension which I need to extract data from, and currently the relevant data is copied by hand to a spreadsheet, whereas it'd be faster to copy the data to clipboard and paste as tab-delimited data directly into the spreadsheet.
However, the popup's classes can't seem to be found using getElementByClassName, nor can they be found by id.
This seems to be because they are in an iframe. From elsewhere on SO, I've tried getting the iframe object, and getting the .document attribute, .contentWindow.document, but neither have worked. I was thinking it might be because there is a #document in the html immediately following the iframe before the html starts?
The relevant HTML code looks like:
<iframe ...>
#document
<html ...>
<\iframe>
Many thanks for you help