Liking cljdoc? Tell your friends :D

chromex.ext.content-settings

clj

Use the chrome.contentSettings API to change settings that control whether websites can use features such as cookies, JavaScript, and plugins. More generally speaking, content settings allow you to customize Chrome's behavior on a per-site basis instead of globally.

Use the chrome.contentSettings API to change settings that control whether websites can use features such as cookies,
JavaScript, and plugins. More generally speaking, content settings allow you to customize Chrome's behavior on a per-site
basis instead of globally.

  * available since Chrome 36
  * https://developer.chrome.com/extensions/contentSettings
raw docstring

api-tableclj

source

automatic-downloads*cljs

(automatic-downloads* config)
source

camera*cljs

(camera* config)
source

cookies*cljs

(cookies* config)
source

fullscreen*cljs

(fullscreen* config)
source

gen-callclj

source

gen-wrapclj/smacro

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

get-automatic-downloadsclj/smacro

(get-automatic-downloads)

Whether to allow sites to download multiple files automatically. One of allow: Allow sites to download multiple files automatically,block: Don't allow sites to download multiple files automatically,ask: Ask when a site wants to download files automatically after the first file. Default is ask.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-automaticDownloads.

Whether to allow sites to download multiple files automatically. One of allow: Allow sites to download multiple files
automatically,block: Don't allow sites to download multiple files automatically,ask: Ask when a site wants to download
files automatically after the first file. Default is ask.The primary URL is the URL of the top-level frame. The secondary
URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-automaticDownloads.
sourceraw docstring

get-cameraclj/smacro

(get-camera)

Whether to allow sites to access the camera. One of allow: Allow sites to access the camera,block: Don't allow sites to access the camera,ask: Ask when a site wants to access the camera. Default is ask.The primary URL is the URL of the document which requested camera access. The secondary URL is not used.NOTE: The 'allow' setting is not valid if both patterns are ''.

https://developer.chrome.com/extensions/contentSettings#property-camera.

Whether to allow sites to access the camera. One of allow: Allow sites to access the camera,block: Don't allow sites to
access the camera,ask: Ask when a site wants to access the camera. Default is ask.The primary URL is the URL of the
document which requested camera access. The secondary URL is not used.NOTE: The 'allow' setting is not valid if both
patterns are ''.

https://developer.chrome.com/extensions/contentSettings#property-camera.
sourceraw docstring

get-cookiesclj/smacro

(get-cookies)

Whether to allow cookies and other local data to be set by websites. One ofallow: Accept cookies,block: Block cookies,session_only: Accept cookies only for the current session. Default is allow.The primary URL is the URL representing the cookie origin. The secondary URL is the URL of the top-level frame.

https://developer.chrome.com/extensions/contentSettings#property-cookies.

Whether to allow cookies and other local data to be set by websites. One ofallow: Accept cookies,block: Block
cookies,session_only: Accept cookies only for the current session. Default is allow.The primary URL is the URL representing
the cookie origin. The secondary URL is the URL of the top-level frame.

https://developer.chrome.com/extensions/contentSettings#property-cookies.
sourceraw docstring

get-fullscreenclj/smacro

(get-fullscreen)

Deprecated. No longer has any effect. Fullscreen permission is now automatically granted for all sites. Value is always allow.

https://developer.chrome.com/extensions/contentSettings#property-fullscreen.

Deprecated. No longer has any effect. Fullscreen permission is now automatically granted for all sites. Value is always
allow.

https://developer.chrome.com/extensions/contentSettings#property-fullscreen.
sourceraw docstring

get-imagesclj/smacro

(get-images)

Whether to show images. One ofallow: Show images,block: Don't show images. Default is allow.The primary URL is the URL of the top-level frame. The secondary URL is the URL of the image.

https://developer.chrome.com/extensions/contentSettings#property-images.

Whether to show images. One ofallow: Show images,block: Don't show images. Default is allow.The primary URL is the URL of
the top-level frame. The secondary URL is the URL of the image.

https://developer.chrome.com/extensions/contentSettings#property-images.
sourceraw docstring

get-javascriptclj/smacro

(get-javascript)

Whether to run JavaScript. One ofallow: Run JavaScript,block: Don't run JavaScript. Default is allow.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-javascript.

Whether to run JavaScript. One ofallow: Run JavaScript,block: Don't run JavaScript. Default is allow.The primary URL is the
URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-javascript.
sourceraw docstring

get-locationclj/smacro

(get-location)

Whether to allow Geolocation. One of allow: Allow sites to track your physical location,block: Don't allow sites to track your physical location,ask: Ask before allowing sites to track your physical location. Default is ask.The primary URL is the URL of the document which requested location data. The secondary URL is the URL of the top-level frame (which may or may not differ from the requesting URL).

https://developer.chrome.com/extensions/contentSettings#property-location.

Whether to allow Geolocation. One of allow: Allow sites to track your physical location,block: Don't allow sites to track
your physical location,ask: Ask before allowing sites to track your physical location. Default is ask.The primary URL is
the URL of the document which requested location data. The secondary URL is the URL of the top-level frame (which may or
may not differ from the requesting URL).

https://developer.chrome.com/extensions/contentSettings#property-location.
sourceraw docstring

get-microphoneclj/smacro

(get-microphone)

Whether to allow sites to access the microphone. One of allow: Allow sites to access the microphone,block: Don't allow sites to access the microphone,ask: Ask when a site wants to access the microphone. Default is ask.The primary URL is the URL of the document which requested microphone access. The secondary URL is not used.NOTE: The 'allow' setting is not valid if both patterns are ''.

https://developer.chrome.com/extensions/contentSettings#property-microphone.

Whether to allow sites to access the microphone. One of allow: Allow sites to access the microphone,block: Don't allow
sites to access the microphone,ask: Ask when a site wants to access the microphone. Default is ask.The primary URL is the
URL of the document which requested microphone access. The secondary URL is not used.NOTE: The 'allow' setting is not valid
if both patterns are ''.

https://developer.chrome.com/extensions/contentSettings#property-microphone.
sourceraw docstring

get-mouselockclj/smacro

(get-mouselock)

Deprecated. No longer has any effect. Mouse lock permission is now automatically granted for all sites. Value is always allow.

https://developer.chrome.com/extensions/contentSettings#property-mouselock.

Deprecated. No longer has any effect. Mouse lock permission is now automatically granted for all sites. Value is always
allow.

https://developer.chrome.com/extensions/contentSettings#property-mouselock.
sourceraw docstring

get-notificationsclj/smacro

(get-notifications)

Whether to allow sites to show desktop notifications. One ofallow: Allow sites to show desktop notifications,block: Don't allow sites to show desktop notifications,ask: Ask when a site wants to show desktop notifications. Default is ask.The primary URL is the URL of the document which wants to show the notification. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-notifications.

Whether to allow sites to show desktop notifications. One ofallow: Allow sites to show desktop notifications,block: Don't
allow sites to show desktop notifications,ask: Ask when a site wants to show desktop notifications. Default is ask.The
primary URL is the URL of the document which wants to show the notification. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-notifications.
sourceraw docstring

get-pluginsclj/smacro

(get-plugins)

Whether to run plugins. One ofallow: Run plugins automatically,block: Don't run plugins automatically,detect_important_content: Only run automatically those plugins that are detected as the website's main content.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-plugins.

Whether to run plugins. One ofallow: Run plugins automatically,block: Don't run plugins
automatically,detect_important_content: Only run automatically those plugins that are detected as the website's main
content.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-plugins.
sourceraw docstring

get-popupsclj/smacro

(get-popups)

Whether to allow sites to show pop-ups. One ofallow: Allow sites to show pop-ups,block: Don't allow sites to show pop-ups. Default is block.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-popups.

Whether to allow sites to show pop-ups. One ofallow: Allow sites to show pop-ups,block: Don't allow sites to show pop-ups.
Default is block.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-popups.
sourceraw docstring

get-unsandboxed-pluginsclj/smacro

(get-unsandboxed-plugins)

Whether to allow sites to run plugins unsandboxed. One of allow: Allow sites to run plugins unsandboxed,block: Don't allow sites to run plugins unsandboxed,ask: Ask when a site wants to run a plugin unsandboxed. Default is ask.The primary URL is the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-unsandboxedPlugins.

Whether to allow sites to run plugins unsandboxed. One of allow: Allow sites to run plugins unsandboxed,block: Don't allow
sites to run plugins unsandboxed,ask: Ask when a site wants to run a plugin unsandboxed. Default is ask.The primary URL is
the URL of the top-level frame. The secondary URL is not used.

https://developer.chrome.com/extensions/contentSettings#property-unsandboxedPlugins.
sourceraw docstring

images*cljs

(images* config)
source

javascript*cljs

(javascript* config)
source

location*cljs

(location* config)
source

microphone*cljs

(microphone* config)
source

mouselock*cljs

(mouselock* config)
source

notifications*cljs

(notifications* config)
source

plugins*cljs

(plugins* config)
source

popups*cljs

(popups* config)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.content-settings namespace.

Taps all valid non-deprecated events in chromex.ext.content-settings namespace.
sourceraw docstring

unsandboxed-plugins*cljs

(unsandboxed-plugins* config)
source

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

× close