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