Liking cljdoc? Tell your friends :D

chromex.ext.page-capture

clj

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 26
* https://developer.chrome.com/extensions/pageCapture
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

save-as-mhtmlclj/smacro

(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.
sourceraw docstring

save-as-mhtml*cljs

(save-as-mhtml* config details)
source

tap-all-eventsclj/smacro

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close