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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.