Geolocation

geolocation
High RiskCategory: Device AccessView Official Docs

Install Warning

"Detect your physical location."

Technical Context

Allows the extension to access the device's geographic location through the standard Geolocation API. This uses GPS, Wi-Fi, or IP-based location depending on device capabilities.

What This Means For You

The extension can find out where you are located, either precisely through GPS or approximately through your internet connection. This is used for local search or mapping features.

Related APIs

This permission enables access to these Chrome APIs:

navigator.geolocation

Common Use Cases

  • Weather apps
  • Local search
  • Maps

How to Declare in manifest.json

Add the "geolocation" permission to your extension manifest:

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

What Users Will See

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

This extension can:

"Detect your physical location."

Related Permissions