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

# run()

> Call Relay.run() in a content script to start forwarding ChainPatrol warning-page events between the page and your browser extension background script.

## Example

```js theme={null}
import { Relay, Events } from "@chainpatrol/sdk";

Relay.run([Events.ContinueAtOwnRisk]);
```

## Parameters

The `run()` method accepts one parameter which is an array of events to forward:

**events** `EventType[]` *required*

The `events` property specifies what events to forward to other listeners of
the relay.


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