I am building a chrome extension that will parse through the HTML of whatever website the user is viewing for metadata.
I am super new at using the chrome API, and I am trying to figure out how to use chrome.pageCapture.saveAsMHTML(object details, function details). These parameters are pretty confusing to me.... I was trying to use http://developer.chrome.com/extensions/pageCapture but I haven't figured it out yet.
How do i assign the MHTML to a variable so that I can begin parsing?