I am working on an extension for Chrome. I wish parse the content of the \"original\" Gmail message (the currently viewed message).
I tried to utilize the jQuery.loa
I had a slightly different approach based on your extension's accessible html pages.
Add your page to the manifest:
"web_accessible_resources": ["variables.html"]
Create your page (here, variables.html) and extract the content's data (i.e. window.contentVar):
Access from your extension's JavaScript:
var myVarName = $("#my-var-name").text();