Favicon

favicon
Low RiskCategory: Browser UIView Official Docs

Install Warning

"Read the icons of the websites you visit."

Technical Context

Provides access to the chrome.favicon API for retrieving website favicons through Chrome's internal favicon service. This avoids cross-origin issues when displaying site icons.

What This Means For You

The extension can get the small icons that represent websites, like the ones shown in tabs. This is used to display website icons in extension interfaces.

Related APIs

This permission enables access to these Chrome APIs:

chrome.favicon

Common Use Cases

  • Tab managers
  • Bookmark tools
  • History viewers

How to Declare in manifest.json

Add the "favicon" permission to your extension manifest:

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

What Users Will See

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

This extension can:

"Read the icons of the websites you visit."

Related Permissions