> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runlayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Browser extension

> Monitor and protect supported AI web chats in Chrome, Edge, Firefox, and Island

The Runlayer browser extension brings AI Watch prompt monitoring, scanner decisions, and Sessions telemetry to supported AI web chats in Google Chrome, Microsoft Edge, and Mozilla Firefox. Every browser reports as the **Browser extension** client while Runlayer resolves the provider from the page URL.

> [!NOTE]
>
> Managed force installation is available for Chrome 120+, Edge 120+, and
> Firefox 140+ on macOS through Jamf Pro, Intune for macOS, Iru/Kandji,
> SimpleMDM, Mosyle, Workspace ONE, and the generic macOS MDM flow, and on
> Windows through [Intune](https://docs.runlayer.com/shadow-ai/deploy/intune.md). Chrome and Firefox on
> macOS require AI Watch `0.29.6` or newer. Edge on macOS and every browser on
> Windows require AI Watch `0.30.13` or newer. The Linux AI Watch package does
> not install the browser extension.

## What it does

For a supported web chat, the extension can:

* capture submitted prompts and assistant responses
* record web conversations in [Sessions](https://docs.runlayer.com/platform-sessions.md)
* send prompt input through your configured security scanners
* mask sensitive prompt input before it reaches the provider
* block a denied prompt before it reaches the provider

Assistant responses are captured after they render. Response scanner outcomes are therefore audit-only: the extension cannot remove or rewrite content that the provider has already displayed.

## Deploy the extension

**1. Confirm the AI Watch version**

Open **Settings → AI Watch** and confirm the target devices run AI Watch
`0.29.6` or newer for Chrome and Firefox on macOS, or `0.30.13` or newer
for Edge and for Windows devices. If they do not, update the AI Watch
policy under **Settings → Client updates** and allow the managed updater to
install the selected version before continuing.

**2. Enable the browser extension**

In **Settings → AI Watch**, find the existing deployment under
**Configurations**, select **Manage settings**, and open the **Browser
extension** tab. Turn on **Install browser extension**, then select **Save
changes**.

**3. Let AI Watch reconcile the browsers**

AI Watch reads the setting and installs the managed Chrome, Edge, and
Firefox policies during its next reconcile, within about 15 minutes: the
bootstrap daemon on macOS, or the SYSTEM `AIWatchHooks` task on Windows.
Restart each browser after the policy is applied. No change or
redeployment of the existing MDM profile or MSI is required.

**4. Enable browser hook processing**

In **Settings → Agent session monitoring**, enable **Full session scanning
APIs** and the **Browser extension** Hook client. Both are required for
browser monitoring and prompt scanner decisions, including Mask and Block.
The deployment's **Collect browser session data** setting separately
controls whether conversations are recorded in Sessions.

AI Watch uses the deployment's existing tenant host and organization API key to configure every browser. It force-installs Runlayer's stable CRX in Chrome and Edge and the Mozilla-signed XPI in Firefox, then keeps their managed settings synchronized with the deployment. AI Watch changes only Runlayer's entries in each browser's extension policy and preserves other extensions' settings. Users do not need to sign in to the browser.

If AI Watch is not deployed, complete the [macOS or Windows deployment](https://docs.runlayer.com/shadow-ai/deploy.md) first. Existing deployments already running a supported AI Watch version only need the Runlayer setting above; do not edit or re-deploy `com.runlayer.aiwatch.mobileconfig` or the MSI install command to enable the browsers.

Managed configuration is read-only inside the extension. Users cannot override the tenant host, organization API key, mode, or Sessions setting from the extension options page.

### Browser requirements

Chrome and Edge force-install an extension from outside their stores only on managed devices. On macOS, the Mac must be MDM-managed. On Windows, the device must be joined to Active Directory or Microsoft Entra ID; Chrome also accepts Chrome Enterprise Core enrollment. Microsoft Entra registered devices do not qualify.

### Take Chrome updates from your update URL

By default AI Watch force-installs the Chrome extension on macOS with `ExtensionInstallForcelist` only. Chrome uses that URL for the first install and then takes updates from the URL built into the extension, so a Mac can stay on an older Runlayer version.

To have Chrome take updates from your organization's update URL, go to **Settings → AI Watch → Manage settings → Browser extension** and turn on **Chrome updates from your update URL** (`browser_extension_chrome_extension_settings` in a [policy rule](https://docs.runlayer.com/shadow-ai/enforce/policy-rules.md)). AI Watch then also adds a Runlayer entry to Chrome's `ExtensionSettings` policy on each Mac. The option is off by default, and turning on **Chrome extension installed by your policy** turns it off. On a Mac shared by users with different policy rules, it applies only if every user's rule turns it on. Turning it off removes the entry AI Watch added. On a Mac where Chrome is enrolled in Google Admin for the whole machine, AI Watch ignores this option and removes the entry it added (see below).

> [!WARNING]
>
> With this option on, the `ExtensionSettings` policy AI Watch writes on the
> Mac hides every `ExtensionSettings` entry you set in Google Admin or a
> per-user MDM profile, including extension blocklists, because Chrome takes
> the policy from one source. If you set `ExtensionSettings` there, leave this
> option off and use [Chrome extension installed by your
> policy](#install-the-chrome-extension-from-your-own-policy) instead. To
> check a Mac, open `chrome://policy` and look for `ExtensionSettings` marked
> as conflicting.

### Install the Chrome extension from your own policy

If you already manage Chrome extensions in Google Admin, Chrome Enterprise Core, or your MDM, you can install the Runlayer extension from that policy instead.

**Why this option exists.** Chrome reads each extension policy (`ExtensionInstallForcelist`, `ExtensionSettings`) from only one source: the highest-priority one wins, and Chrome does not combine the values from different sources. Settings written on the Mac itself rank above per-user MDM profiles and Google Admin user policy. So whenever AI Watch writes its own Chrome extension policy, it can hide the same policy you deliver from somewhere else. For example, after AI Watch added its force-install, customers' Okta extensions were removed and reinstalled, signing users out each time. Installing Runlayer from your own policy removes the conflict, because then only your policy exists.

To turn it on, go to **Settings → AI Watch → Manage settings → Browser extension** and turn on **Chrome extension installed by your policy**. AI Watch then writes nothing to Chrome's machine policy on macOS, so it never overrides your extension policies. It still delivers the extension's tenant settings. On a Mac shared by users with different policy rules, AI Watch keeps its own force-install unless every user's rule has this option on.

On a Mac where Chrome is enrolled in Google Admin (Chrome Browser Cloud Management) for the whole machine, AI Watch always works this way, whatever this setting says: it leaves Chrome's extension policy to Google Admin and removes its own force-install, plus any `ExtensionSettings` entry it added under **Chrome updates from your update URL**. Force-install Runlayer from Google Admin as shown below. The device health check shows Chrome as managed by Google Admin, and reports any Chrome profile where your policy has not installed the extension.

AI Watch detects only machine-level enrollment. If you enroll Chrome with a user-level profile only, AI Watch keeps its own force-install, because other users on the same Mac may not be enrolled. In that case, turn on **Chrome extension installed by your policy**.

The option needs AI Watch 0.31.20 or later on each Mac. Older versions ignore it and keep their own force-install. If your MDM installs a fixed AI Watch package, update that package too, or the MDM may reinstall the older version.

With the option on, the same tab shows the extension ID and your organization's update URL, each with a copy button, followed by the `ExtensionSettings` entry for MDM profiles:

![Browser extension tab with Chrome extension installed by your policy turned on, showing the extension ID and update URL with copy buttons](https://mintcdn.com/anysource/aI-Wsr0h2vtY6E8S/images/browser-extension/chrome-own-policy-update-url.png?fit=max\&auto=format\&n=aI-Wsr0h2vtY6E8S\&q=85\&s=b096d04b582e50a3501c9b5df6460d7d)

Then force-install Runlayer from your policy:

* **Google Admin or Chrome Enterprise Core:** force-install the extension by ID from the update URL (**From a custom URL**). Also set the extension's **Update URL** to **Installation URL**. The default takes updates from the URL built into the extension, a global Runlayer fallback that doesn't follow your Client Updates version, so Chrome stays on an old version.
* **MDM Chrome profile (Jamf, Iru, and others):** add this entry to the profile's `ExtensionSettings`. Use `force_installed`; users can turn off a `normal_installed` extension.

```json theme={null}
"jijfcalfdbnjfpfcalkodmgmfijpfddi": {
  "installation_mode": "force_installed",
  "update_url": "<your Runlayer update URL>",
  "override_update_url": true
}
```

Runlayer isn't in the Chrome Web Store, so always use your update URL, not the Web Store URL (`https://clients2.google.com/service/update2/crx`) that other extensions' entries use. Chrome can't install Runlayer from a Web Store entry, and because Chrome applies `ExtensionSettings` over `ExtensionInstallForcelist`, that entry also stops AI Watch's own force-install from working.

If your MDM installs the Chrome profile at the computer level, use `ExtensionSettings` rather than `ExtensionInstallForcelist`. A computer-level profile writes the same `/Library/Managed Preferences/com.google.Chrome.plist` that AI Watch manages, and with this option on AI Watch removes any forcelist entry for its extension ID from that file, because earlier AI Watch versions wrote them there, along with any `ExtensionSettings` entry AI Watch added itself. An `ExtensionSettings` entry your profile delivers is left alone, even when it matches AI Watch's. Google Admin policy and user-level MDM profiles are never changed, so a forcelist entry is fine there.

Deliver each policy from one place. If Google Admin and your MDM both set `ExtensionSettings`, for example Google Admin pins Okta to the toolbar while your MDM profile force-installs Runlayer, Chrome uses only the higher-priority one (by default the MDM's) and ignores the other's settings, and `chrome://policy` shows the policy as conflicting. Add Runlayer wherever that policy already comes from, or move all of its entries to one place.

Add Runlayer to your policy before you turn the option on. Once AI Watch removes its own force-install, Chrome uninstalls the extension wherever your policy doesn't install it, after its next policy reload (within about 15 minutes, or right away after **Reload policies** in `chrome://policy`). The device health check reports any Chrome profile where your policy has not installed the extension.

> [!WARNING]
>
> When a managed device also has an Edge work profile, Edge treats a profile
> signed in with a personal Microsoft account as the Enterprise personal
> browser and does not apply extension management policy to it. AI Watch
> cannot install the extension in that profile, so its web chats are outside
> browser-extension coverage. See Microsoft's [policy filters for the
> Enterprise personal
> browser](https://learn.microsoft.com/en-us/deployedge/edge-learnmore-personal-browser-policies).

### Supported browsers

| Browser | macOS | Windows | Installed by |
| - | - | - | - |
| Google Chrome 120+ | Yes | Yes | AI Watch |
| Microsoft Edge 120+ | Yes | Yes | AI Watch |
| Mozilla Firefox 140+ | Yes | Yes | AI Watch |
| Island Enterprise Browser | Yes | Limited | Island Management Console |

**Limited**: the extension installs, but AI Watch registers its identity host for Island only on macOS, so Runlayer cannot resolve the user behind Island activity on Windows and prompt scanning and Sessions attribution do not apply there. See [Island Enterprise Browser](#island-enterprise-browser).

### Island Enterprise Browser

Island manages its extensions from the Island Management Console. AI Watch also writes the extension policy to Island's macOS managed preferences and registers its identity host for Island, but Island may apply only console policy, so an Island administrator should add the extension in the console once:

**1. Open the Island setup**

In **Settings → AI Watch**, select **Manage settings** on the deployment
and open the **Browser extension** tab. With **Install browser extension**
on, select **Set up Island** in the **Using Island Enterprise Browser?**
notice. The setup shows the extension ID, your organization's update URL,
and the extension configuration policy. Replace `<organization API key>`
with the deployment's organization API key, which is in the deployment
profile you uploaded to your MDM. New deployments show the same notice on
the final setup step, with the key filled in.

**2. Force-install the extension in Island**

In the Island Management Console, open **Device Management → Extensions →
Extension Policy**. Add the extension ID as a force-installed extension
with the update URL, then paste the configuration into its **Extension
configuration policy**. Save, then apply the pending changes.

**3. Allow the identity host**

Under **Browser Hardening → Native Messaging Hosts**, allow hosts
installed with administrator permissions. On macOS, the extension uses the
AI Watch native messaging host to resolve the device's user; without it,
prompt scanning and Sessions attribution do not apply to Island activity.

Island does not receive later changes to the browser mode or Sessions setting from Runlayer. After changing either, paste the updated configuration into the Island extension policy.

## Set up one browser manually

Use this flow for a test browser profile or one-off validation. For a fleet rollout, use the managed deployment above so installation, configuration, and updates remain enforced. This flow covers Chrome and Firefox; Edge is supported only through the managed deployment.

> [!WARNING]
>
> Manual configuration stores a personal API key in the browser profile, and
> Runlayer attributes its activity to that key's owner. Use a dedicated test
> profile on a trusted device, not a shared browser profile.

**1. Download the selected browser package**

In **Settings → Client updates**, open **Browser extension**, select and save
the version policy you want to test, then download the package for the
browser:

* Chrome: `runlayer-aiwatch-browser-extension-<version>-unpacked.zip`
* Firefox: `runlayer-aiwatch-browser-extension-firefox-<version>.xpi`

**2. Install the package**

> [tab] Chrome
>
> Unzip the downloaded file. Open `chrome://extensions`, turn on
> **Developer mode**, select **Load unpacked**, and choose the unzipped
> folder. Keep the folder in place: Chrome loads the extension from it.
> Unpacked installs don't update automatically, so download and load the
> new zip for each release.
>
> If your organization blocks Developer mode, use the
> [managed deployment](#deploy-the-extension). Chrome on macOS and Windows
> rejects a downloaded `.crx` opened directly
> (`CRX_REQUIRED_PROOF_MISSING`).

> [tab] Firefox
>
> Open `about:addons`, select **Extensions**, open the gear menu, and
> choose **Install Add-on From File…**. Select the downloaded Mozilla-signed
> `.xpi` and approve the requested permissions. The personal API key in
> the next step provides identity, so this manual flow does not require an
> AI Watch package on the device.

**3. Configure the extension**

Open **Runlayer AI Watch → Manage extension → Extension options**. Enter your
Runlayer tenant URL as **Backend host**. In **Settings → Personal API keys**,
create a personal API key for the user running the test, then enter it as
**API key**. Leave prompt-input scanner actions off for Monitor, or enable
them for Protect or Enforce. Select **Save**, then **Test connection**.

A personal API key attributes activity directly to its owner, so a manual
installation does not need the managed device identity that the AI Watch
package provides. If the
connection test reports **Device identity unresolved**, replace the
organization API key with a personal API key and retry.

**4. Enable browser hook processing**

In **Settings → Agent session monitoring**, enable **Full session scanning
APIs** and the **Browser extension** Hook client. Both are required for
browser monitoring and prompt scanner decisions.

## Configure browser mode and Sessions

Open **Settings → AI Watch**. Under **Configurations**, select **Manage settings** for the deployment, then choose the **Browser extension** tab.

By default, the browser extension inherits the deployment's AI Watch mode and Sessions setting. Turn on **Use independent protection mode** only when browser traffic needs a different mode or Sessions setting from local AI clients.

| Browser mode | Prompt behavior | Sessions behavior |
| - | - | - |
| **Monitor** | Report supported prompts without changing or blocking the provider request | Controlled independently by **Collect browser session data** |
| **Protect** | Apply configured prompt-input scanner actions, including Mask and Block | Controlled independently by **Collect browser session data** |
| **Enforce** | Uses the same browser prompt-input scanner path as Protect | Controlled independently by **Collect browser session data** |

Protect and Enforce are distinct endpoint modes for local client hooks, but they intentionally share the same scanner-driven prompt behavior in the browser. Endpoint MCP-source allowlists, denylists, and local file/shell policy do not apply to web-chat page requests.

Turning off **Collect browser session data** suppresses browser lifecycle and transcript events. Prompt scanner checks remain active in Protect and Enforce as long as **Full session scanning APIs** and the **Browser extension** Hook client remain enabled.

### When changes take effect

Some settings apply on the next prompt; others wait for each device to check in.

| Change | When browsers pick it up |
| - | - |
| Scanner action or **Web Browser** override under **Settings → Security Scanners** (for example Mask to Block) | Next prompt. The extension asks Runlayer for a decision on every prompt, so no device sync is needed. |
| Browser mode, **Use independent protection mode**, or **Collect browser session data** on the **Browser extension** tab | Next AI Watch reconcile on each device, every 15 minutes while it is on and online, then the browser's next policy reload. A device that was off or offline picks the change up after it comes back. |

You cannot push a mode change to devices from Runlayer. To apply it right away on one device, an administrator (or your IT tooling) can:

1. Run the AI Watch reconcile now instead of waiting for the 15-minute tick. It fetches the new settings and writes the browser policy:
   ```bash theme={null}
   sudo aiwatch config sync
   ```
   ```powershell theme={null}
   & "C:\Program Files\Runlayer\AIWatch\aiwatch.exe" config sync
   ```
2. Reload the browser's policy:
   * **Chrome or Edge**: open `chrome://policy` or `edge://policy` and select **Reload policies**, or restart the browser.
   * **Firefox**: restart the browser. Firefox reads its policies at startup.

Reverting a mode change (for example Protect back to Monitor) follows the same delay. To try Protect or Enforce safely, create a separate AI Watch configuration for a few test devices instead of changing the configuration every device uses, or keep the mode change in place and switch individual scanners between Alert and Block, which applies right away.

## Supported web pages

Status labels:

* **✅ Supported** — validated prompt, response, and Sessions behavior for the current release
* **Monitor only** — capture is supported, but the page has no safe pre-send rewrite and cannot Mask or Block
* **Heuristic** — best-effort capture through the generic composer detector; the page is not validated for the current release
* **—** — intentionally unsupported for that page

### Prompt protection and Sessions

These pages have a precise provider adapter and support prompt-input Mask and Block before provider send.

| Provider | Pages | Prompt | Response | Mask / Block | Sessions |
| - | - | :-: | :-: | :-: | :-: |
| Claude | `claude.ai` | ✅ | ✅ | ✅ | ✅ |
| ChatGPT | `chatgpt.com`, `chat.openai.com` | ✅ | ✅ | ✅ | ✅ |
| Microsoft Copilot | `copilot.com`, `copilot.microsoft.com` | ✅ | ✅ | ✅ | ✅ |
| v0 | `v0.app`, `v0.dev` | ✅ | ✅ | ✅ | ✅ |
| DeepSeek | `chat.deepseek.com` | ✅ | ✅ | ✅ | ✅ |
| Lovable | `lovable.dev` | ✅ | ✅ | ✅ | ✅ |
| Grok | `grok.com` | ✅ | ✅ | ✅ | ✅ |
| Bolt | `bolt.new` | ✅ | ✅ | ✅ | ✅ |
| Perplexity | `perplexity.ai` | ✅ | ✅ | ✅ | ✅ |
| Meta AI | `meta.ai` | ✅ | ✅ | ✅ | ✅ |
| Mistral | `chat.mistral.ai` | ✅ | ✅ | ✅ | ✅ |
| Poe | `poe.com` | ✅ | ✅ | ✅ | ✅ |
| Kimi | `kimi.com` | ✅ | ✅ | ✅ | ✅ |
| HuggingChat | `huggingface.co/chat` | ✅ | ✅ | ✅ | ✅ |

### Observation-only pages

These pages support monitoring and Sessions, but cannot safely rewrite or stop the provider request.

| Provider | Pages | Prompt | Response | Mask / Block | Sessions |
| - | - | :-: | :-: | :-: | :-: |
| Gemini | `gemini.google.com` | ✅ | ✅ | Monitor only | ✅ |
| Linear AI | `linear.app/<workspace>/agent` | ✅ | ✅ | Monitor only | ✅ |
| Microsoft 365 Copilot | `m365.cloud.microsoft` | ✅ | ✅ | Monitor only | ✅ |
| NotebookLM | `notebooklm.google.com`, `notebook.google.com` | ✅ | — | Monitor only | ✅ |
| Muse | `muse.ai` | Heuristic | — | Monitor only | Heuristic |

> [!WARNING]
>
> The extension may be present on other HTTPS pages, but that does not make
> those pages supported. Unknown pages do not capture conversations and cannot
> enforce prompt decisions.

## Scanner outcomes

Scanner actions are configured under **Settings → Security Scanners**. Per-client overrides for **Web Browser** take precedence over the global scanner action.

| Outcome | Browser behavior |
| - | - |
| **Allow** | Send the original prompt |
| **Alert** | Send the original prompt and record the finding |
| **Mask** | Replace matching prompt input before provider send |
| **Block** | Stop the prompt before provider send. When browser Sessions is enabled, record the session as Blocked |

The provider UI may display its own generic network or retry error when a request is blocked. Use the corresponding security finding in [Incidents](https://docs.runlayer.com/platform-incidents.md) or [Audit Logs](https://docs.runlayer.com/platform-audit-logs.md) as the policy evidence. When browser Sessions is enabled, the session's Blocked status provides additional evidence.

## Verify a deployment

1. Confirm the device runs a supported AI Watch version: `0.29.6` or newer for Chrome and Firefox on macOS, or `0.30.13` or newer for Edge and for Windows devices.
2. In Chrome, open `chrome://extensions`; in Edge, open `edge://extensions`. Confirm the Runlayer extension appears as managed. If it is missing, open `chrome://policy` or `edge://policy` and confirm the Runlayer extension policy is applied without errors.
3. In Firefox, open `about:policies`, confirm the Runlayer extension policy is active, then open `about:addons` and confirm the extension is installed. A Firefox account is not required.
4. Open the extension popup in each browser and confirm the expected Monitor, Protect, or Enforce badge.
5. Confirm **Full session scanning APIs** is enabled and **Browser extension** is enabled under **Settings → Agent session monitoring → Hook clients**.
6. On a response-capable supported page, submit a harmless unique prompt and confirm its prompt and response appear in [Sessions](https://docs.runlayer.com/platform-sessions.md). For NotebookLM, verify the prompt and session lifecycle only because response capture is intentionally unsupported.
7. Test Mask or Block only with a dedicated test organization and a pre-approved scanner test value. Confirm the provider receives the masked value or does not receive the blocked prompt.

## Troubleshooting

> [accordion] The extension is installed, but no browser sessions appear
>
> Confirm **Collect browser session data** is enabled, **Full session scanning
> APIs** is on, and the **Browser extension** Hook client is enabled. Restart
> the browser after the first managed deployment or a policy change.

> [accordion] Prompts are recorded but not masked or blocked
>
> Confirm the page is listed under **Prompt protection and Sessions**, the
> browser mode is Protect or Enforce, and the relevant scanner action or Web
> Browser override is Mask or Block. Observation-only pages never modify the
> provider request.

> [accordion] Users are still blocked after switching back to Monitor
>
> Browser mode changes reach each device on its next AI Watch reconcile, so
> a device keeps the old mode until it checks in (every 15 minutes while it
> is online) and the browser reloads its policy. Reload policies or restart
> the browser on the affected device; see
> [When changes take effect](#when-changes-take-effect). To stop blocking
> right away, set the scanner's action to Alert in **Settings → Security
> Scanners**.

> [accordion] A blocked prompt shows a provider error
>
> Some providers surface a generic network, retry, or send error when the
> extension stops their request. Confirm the security finding in Incidents or
> Audit Logs. When browser Sessions is enabled, also confirm the corresponding
> session is marked **Blocked**.

## Related resources

> [card] [Deploy AI Watch](https://docs.runlayer.com/shadow-ai/deploy.md)
>
> Create the MDM deployment that force-installs and configures the extension

> [card] [Sessions](https://docs.runlayer.com/platform-sessions.md)
>
> Review captured browser prompts, responses, and scanner outcomes

> [card] [Endpoint modes](https://docs.runlayer.com/shadow-ai/enforce.md)
>
> Understand Monitor, Protect, and Enforce across local clients

> [card] [Security scanners](https://docs.runlayer.com/runlayer-toolguard.md)
>
> Configure scanner actions and per-client overrides


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.