My extension use content-scripts to grab data from some pages. But, sometimes users use Google Translate on the page and I need original data.
How can I get it? The content-script grabs translated data.
To get the original (untranslated) version:
Get its address from the translate-address input:
Load that address in a hidden iframe.
Grab the data you want from your new hidden iframe using the usual methods for dealing with iframes in Google-Chrome extensions.
If the translated page has been modified by AJAX, the AJAX additions aren't available in the "Original" version, but Google-translate doesn't translate these either (for now) -- so just grab the AJAXed changes directly, from the translated-page iframe.