Use the chrome.pageCapture API to save a tab as MHTML.
Use the chrome.pageCapture API to save a tab as MHTML. * available since Chrome 36 * https://developer.chrome.com/extensions/pageCapture
(save-as-mhtml details)
Saves the content of the tab with given id as MHTML.
|details| - https://developer.chrome.com/extensions/pageCapture#property-saveAsMHTML-details.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [mhtml-data] where:
|mhtml-data| - The MHTML data as a Blob.
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
https://developer.chrome.com/extensions/pageCapture#method-saveAsMHTML.
Saves the content of the tab with given id as MHTML. |details| - https://developer.chrome.com/extensions/pageCapture#property-saveAsMHTML-details. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [mhtml-data] where: |mhtml-data| - The MHTML data as a Blob. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error. https://developer.chrome.com/extensions/pageCapture#method-saveAsMHTML.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.page-capture namespace.
Taps all valid non-deprecated events in chromex.ext.page-capture namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close