* available since Chrome 36
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close