ExtensionsAPI reference
connect.profile
Read-only Connect+ profile settings and device rules (Connect+-only).
Read Connect+ profile and device-rule data. Connect+-only — there is no Chrome analog. Read-only.
- Capability:
profile.read - Namespace:
connect.profile
Walkthrough
Read the current profile's settings.
- Declare
profile.read:{ "capabilities": ["profile.read"] } - Read the profile:
const { name, adsBlockingEnabled } = await connect.profile.get(); - Inspect device rules with
getDeviceRules()if you need mic/cam or host state.
Methods
profile.get()
Read the current profile's settings.
How to use it
- Call it to read the profile's name and feature flags.
Signature — connect.profile.get() · Capability: profile.read
Returns — Promise<{ id, name, adsBlockingEnabled, proxyEnabled, pauseHistory, useDefaultUserAgent }>.
const { name, adsBlockingEnabled } = await connect.profile.get();profile.getDeviceRules()
Read the profile's device rules.
How to use it
- Call it to inspect mic/cam enablement + labels, host permissions, and transient session block/allow decisions.
Signature — connect.profile.getDeviceRules() · Capability: profile.read
Returns — Promise<DeviceRules>.
Notes
- Everything here is read-only; to change proxy routing use
connect.proxy. There is no write access to profile settings from an extension.