Active Tab

activeTab
Low RiskCategory: Privacy & NavigationView Official Docs

Technical Context

This permission provides temporary, elevated host permissions to the current tab in response to an explicit user gesture, such as clicking the extension icon. It allows the extension to interact with the DOM and CSS of a specific page without requiring broad, permanent access to all browsing data.

What This Means For You

This is a "privacy-first" permission that only lets the tool see the website you are currently looking at when you specifically ask for help. It ensures the extension remains dormant and unable to read your data on any other open tabs or websites.

Related APIs

This permission enables access to these Chrome APIs:

chrome.scriptingchrome.tabs

Common Use Cases

  • Page translators
  • Screenshot tools
  • Read-it-later apps

How to Declare in manifest.json

Add the "activeTab" permission to your extension manifest:

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

Related Permissions