Connect+Documentation
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.

  1. Declare profile.read:
    { "capabilities": ["profile.read"] }
  2. Read the profile:
    const { name, adsBlockingEnabled } = await connect.profile.get();
  3. 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

  1. Call it to read the profile's name and feature flags.

Signatureconnect.profile.get() · Capability: profile.read

ReturnsPromise<{ 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

  1. Call it to inspect mic/cam enablement + labels, host permissions, and transient session block/allow decisions.

Signatureconnect.profile.getDeviceRules() · Capability: profile.read

ReturnsPromise<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.

On this page