|
3 | 3 |
|
4 | 4 | --- |
5 | 5 |
|
6 | | -import { Tabs, TabItem, Steps } from '~/components'; |
| 6 | +import { Tabs, TabItem, Steps, DashButton } from '~/components'; |
7 | 7 |
|
8 | | -<Tabs syncKey="dashNewNav"> <TabItem label="Old dashboard"> |
9 | | - |
10 | | -To enable JavaScript detections: |
11 | | - |
12 | | -<Steps> |
13 | | -1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain. |
14 | | -2. Go to **Security** > **Bots**. |
15 | | -3. Select **Configure Bot Management**. |
16 | | -4. For **JavaScript Detections**, switch the toggle to **On**. |
17 | | -</Steps> |
18 | | -</TabItem> <TabItem label="New dashboard" icon="rocket"> |
19 | | -To enable JavaScript detections using the Bot traffic settings module: |
20 | | -<Steps> |
21 | | -1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain. |
22 | | -2. Go to **Security** > **Settings**. |
23 | | -3. Under your bot traffic plan configurations, select the edit icon for **JS detections** and turn **JavaScript Detections** on. |
24 | | -</Steps> |
25 | | -</TabItem> </Tabs> |
| 8 | +<Tabs syncKey="dashNewNav"> |
| 9 | + <TabItem label="Old dashboard"> |
| 10 | + <Steps> |
| 11 | + 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain. |
| 12 | + 2. Go to **Security** > **Bots**. |
| 13 | + 3. Select **Configure Bot Management**. |
| 14 | + 4. For **JavaScript Detections**, switch the toggle to **On**. |
| 15 | + </Steps> |
| 16 | + </TabItem> |
| 17 | + <TabItem label="New dashboard" icon="rocket"> |
| 18 | + <Steps> |
| 19 | + 1. In the Cloudflare dashboard, go to the **Security Settings** page. |
| 20 | + |
| 21 | + <DashButton url="/?to=/:account/:zone/security/settings" /> |
| 22 | + 2. Under your bot traffic plan configurations, select the edit icon for **JS detections** and turn **JavaScript Detections** on. |
| 23 | + </Steps> |
| 24 | + </TabItem> |
| 25 | +</Tabs> |
0 commit comments