Liking cljdoc? Tell your friends :D

chromex.ext.declarative-web-request

clj

Note: this API is currently on hold, without concrete plans to move to stable. Use the chrome.declarativeWebRequest API to intercept, block, or modify requests in-flight. It is significantly faster than the chrome.webRequest API because you can register rules that are evaluated in the browser rather than the JavaScript engine, which reduces roundtrip latencies and allows higher efficiency.

Note: this API is currently on hold, without concrete plans to move to stable. Use the chrome.declarativeWebRequest API to
intercept, block, or modify requests in-flight. It is significantly faster than the chrome.webRequest API because you can
register rules that are evaluated in the browser rather than the JavaScript engine, which reduces roundtrip latencies and
allows higher efficiency.

  * available since Chrome 76
  * https://developer.chrome.com/extensions/declarativeWebRequest
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

on-message*cljs

(on-message* config channel & args)
source

on-request*cljs

(on-request* config channel & args)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.declarative-web-request namespace.

Taps all valid non-deprecated events in chromex.ext.declarative-web-request namespace.
sourceraw docstring

tap-on-message-eventsclj/smacro

(tap-on-message-events channel & args)

Fired when a message is sent via 'declarativeWebRequest.SendMessageToExtension' from an action of the declarative web request API.

Events will be put on the |channel| with signature [::on-message [details]] where:

|details| - https://developer.chrome.com/extensions/declarativeWebRequest#property-onMessage-details.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/declarativeWebRequest#event-onMessage.

Fired when a message is sent via 'declarativeWebRequest.SendMessageToExtension' from an action of the declarative web
request API.

Events will be put on the |channel| with signature [::on-message [details]] where:

  |details| - https://developer.chrome.com/extensions/declarativeWebRequest#property-onMessage-details.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/declarativeWebRequest#event-onMessage.
sourceraw docstring

tap-on-request-eventsclj/smacro

(tap-on-request-events channel & args)

Events will be put on the |channel| with signature [::on-request []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/declarativeWebRequest#event-onRequest.

Events will be put on the |channel| with signature [::on-request []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/declarativeWebRequest#event-onRequest.
sourceraw docstring

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

× close