Liking cljdoc? Tell your friends :D

chromex.ext.webstore-private

clj
  • available since Chrome 36
  * available since Chrome 36
raw docstring

api-tableclj

source

begin-install-with-manifest3clj/smacro

(begin-install-with-manifest3 details)

Initiates the install process for the given extension.

|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 [result] where:

|result| - A string result code, which will be empty upon success. The possible values in the case of errors include 'unknown_error', 'user_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied', 'invalid_icon_url' and 'already_installed'.

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.

Initiates the install process for the given extension.

  |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 [result] where:

  |result| - A string result code, which will be empty upon success. The possible values in the case of errors include
             'unknown_error', 'user_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied',
             'invalid_icon_url' and 'already_installed'.

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

begin-install-with-manifest3*cljs

(begin-install-with-manifest3* config details)
source

complete-installclj/smacro

(complete-install expected-id)

|expected-id| - The id of the extension to be installed. This should match a previous call to beginInstallWithManifest3.

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 [].

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.

  |expected-id| - The id of the extension to be installed. This should match a previous call to beginInstallWithManifest3.

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 [].

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

complete-install*cljs

(complete-install* config expected-id)
source

enable-app-launcherclj/smacro

(enable-app-launcher)

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 [].

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.

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 [].

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

enable-app-launcher*cljs

(enable-app-launcher* config)
source

gen-callclj

source

gen-wrapclj/smacro

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

get-browser-loginclj/smacro

(get-browser-login)

Returns the logged-in sync user login if there is one, or the empty string otherwise.

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 [info] where:

|info| - ?

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.

Returns the logged-in sync user login if there is one, or the empty string otherwise.

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 [info] where:

  |info| - ?

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

get-browser-login*cljs

(get-browser-login* config)
source

get-ephemeral-apps-enabledclj/smacro

(get-ephemeral-apps-enabled)

Returns whether the ephemeral apps feature is enabled.

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 [is-enabled] where:

|is-enabled| - ?

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.

Returns whether the ephemeral apps feature is enabled.

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 [is-enabled] where:

  |is-enabled| - ?

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

get-ephemeral-apps-enabled*cljs

(get-ephemeral-apps-enabled* config)
source

get-extension-statusclj/smacro

(get-extension-status id)
(get-extension-status id manifest)

Returns the install status of the extension.

|id| - The id of the extension |manifest| - The manifest of the extension

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 [status] where:

|status| - ?

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.

Returns the install status of the extension.

  |id| - The id of the extension
  |manifest| - The manifest of the extension

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 [status] where:

  |status| - ?

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

get-extension-status*cljs

(get-extension-status* config id manifest)
source

get-is-launcher-enabledclj/smacro

(get-is-launcher-enabled)

Returns whether the apps launcher is enabled or not.

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 [is-enabled] where:

|is-enabled| - ?

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.

Returns whether the apps launcher is enabled or not.

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 [is-enabled] where:

  |is-enabled| - ?

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

get-is-launcher-enabled*cljs

(get-is-launcher-enabled* config)
source

get-referrer-chainclj/smacro

(get-referrer-chain)

Returns a base-64 encoded referrer chain leading to the webstore page. Should only be used for extension anti-abuse purposes.

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 [referrer-chain] where:

|referrer-chain| - ?

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.

Returns a base-64 encoded referrer chain leading to the webstore page. Should only be used for extension anti-abuse
purposes.

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 [referrer-chain] where:

  |referrer-chain| - ?

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

get-referrer-chain*cljs

(get-referrer-chain* config)
source

get-store-loginclj/smacro

(get-store-login)

Returns the previous value set by setStoreLogin, or the empty string if there is none.

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 [login] where:

|login| - ?

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.

Returns the previous value set by setStoreLogin, or the empty string if there is none.

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 [login] where:

  |login| - ?

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

get-store-login*cljs

(get-store-login* config)
source

get-web-gl-statusclj/smacro

(get-web-gl-status)

Invokes a callback that returns whether WebGL is blacklisted or not.

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 [webgl-status] where:

|webgl-status| - ?

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.

Invokes a callback that returns whether WebGL is blacklisted or not.

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 [webgl-status] where:

  |webgl-status| - ?

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

get-web-gl-status*cljs

(get-web-gl-status* config)
source

installclj/smacro

(install expected-id)

Installs the extension corresponding to the given id

|expected-id| - The id of the extension to install.

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 [].

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.

Installs the extension corresponding to the given id

  |expected-id| - The id of the extension to install.

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 [].

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

install*cljs

(install* config expected-id)
source

is-in-incognito-modeclj/smacro

(is-in-incognito-mode)

Returns whether the browser is in incognito mode or not.

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 [is-incognito] where:

|is-incognito| - ?

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.

Returns whether the browser is in incognito mode or not.

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 [is-incognito] where:

  |is-incognito| - ?

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

is-in-incognito-mode*cljs

(is-in-incognito-mode* config)
source

is-pending-custodian-approvalclj/smacro

(is-pending-custodian-approval id)

Checks if an extension installed on a Supervised User profile is pending custodian approval.

|id| - The extension id of the extension to be checked.

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 [is-pending-approval] where:

|is-pending-approval| - ?

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.

Checks if an extension installed on a Supervised User profile is pending custodian approval.

  |id| - The extension id of the extension to be checked.

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 [is-pending-approval] where:

  |is-pending-approval| - ?

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

is-pending-custodian-approval*cljs

(is-pending-custodian-approval* config id)
source

launch-ephemeral-appclj/smacro

(launch-ephemeral-app id)

Installs an app ephemerally in Chrome (if not already fully installed) and launches the app. A user gesture is required.

|id| - The extension id of the app to launch.

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 [result] where:

|result| - Whether an attempt to launch an app succeeded, or the reason for failure.

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.

Installs an app ephemerally in Chrome (if not already fully installed) and launches the app. A user gesture is required.

  |id| - The extension id of the app to launch.

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 [result] where:

  |result| - Whether an attempt to launch an app succeeded, or the reason for failure.

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

launch-ephemeral-app*cljs

(launch-ephemeral-app* config id)
source

request-extensionclj/smacro

(request-extension id)

Ask Chrome to send the extension request to the Admin Console.

|id| - The id of the extension to be requested. The webstore should call this after a call to getExtensionStatus

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 [status] where:

|status| - ?

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.

Ask Chrome to send the extension request to the Admin Console.

  |id| - The id of the extension to be requested. The webstore should call this after a call to getExtensionStatus

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 [status] where:

  |status| - ?

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

request-extension*cljs

(request-extension* config id)
source

set-store-loginclj/smacro

(set-store-login login)

Sets a preference value with the store login.

|login| - ?

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 [].

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.

Sets a preference value with the store login.

  |login| - ?

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 [].

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

set-store-login*cljs

(set-store-login* config login)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.webstore-private namespace.

Taps all valid non-deprecated events in chromex.ext.webstore-private namespace.
sourceraw docstring

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

× close