Content Settings

contentSettings
High RiskCategory: Privacy & NavigationView Official Docs

Install Warning

"Change your settings that control websites' access to features such as cookies, JavaScript, plugins, geolocation, microphone, camera, etc."

Technical Context

Grants access to the chrome.contentSettings API for controlling per-site permissions like JavaScript execution, cookie handling, and hardware access. This enables fine-grained control over web features.

What This Means For You

The extension can change what websites are allowed to do, like using cookies or accessing your camera. This is useful for privacy tools that block unwanted features on certain sites.

Related APIs

This permission enables access to these Chrome APIs:

chrome.contentSettings

Common Use Cases

  • Privacy tools
  • Parental controls
  • Security extensions

How to Declare in manifest.json

Add the "contentSettings" permission to your extension manifest:

{
  "manifest_version": 3,
  "name": "My Extension",
  "permissions": [
    "contentSettings"
  ]
}

What Users Will See

When users install your extension, Chrome will display this warning:

This extension can:

"Change your settings that control websites' access to features such as cookies, JavaScript, plugins, geolocation, microphone, camera, etc."

Related Permissions