Login State
loginStateTechnical Context
Grants access to the chrome.loginState API for detecting whether Chrome OS is at the login screen or in a user session. This is a ChromeOS-specific permission.
What This Means For You
On Chromebooks, the extension can tell if someone is logged in or at the login screen. This is only relevant for Chrome OS system extensions.
Related APIs
This permission enables access to these Chrome APIs:
chrome.loginStateCommon Use Cases
- ✓Kiosk mode
- ✓Enterprise management
How to Declare in manifest.json
Add the "loginState" permission to your extension manifest:
{
"manifest_version": 3,
"name": "My Extension",
"permissions": [
"loginState"
]
}Related Permissions
Storage
storageThis acts as a digital filing cabinet where the extension saves your personal settings and preferences. It ensures your custom configurations stay the same every time you open Chrome without slowing down your computer.
Unlimited Storage
unlimitedStorageThe extension can save more data on your computer than the usual limit allows. This is useful for tools that need to work offline or save lots of information locally.
Alarms
alarmsThe extension can set timers to perform tasks at specific times or on a regular schedule. This allows features like periodic sync, reminders, or scheduled updates to work reliably.
Idle Detection
idleThe extension can tell if you are actively using your computer or have stepped away. This helps it avoid interrupting you or save resources when you are not at your desk.
Power Management
powerThe extension can keep your screen awake and prevent your computer from going to sleep. This is helpful when watching videos or during presentations.