Skip to content

Commit 4eaf070

Browse files
new dash
1 parent a491387 commit 4eaf070

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

src/content/docs/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ sidebar:
55
order: 3
66
---
77

8-
98
When a visitor solves a [Cloudflare Challenge](/cloudflare-challenges/) - as part of a [WAF custom rule](/waf/custom-rules/) or [IP Access rule](/waf/tools/ip-access-rules/) - you can set the **Challenge Passage** to prevent them from having to solve future Challenges for a specified period of time.
109

1110
### How it works
@@ -25,7 +24,7 @@ To update the Challenge Passage (and the value of the `cf_clearance` cookie):
2524
1. Log into the [Cloudflare dashboard](https://dash.cloudflare.com).
2625
2. Select your account and domain.
2726
3. Go to **Security** > **Settings**.
28-
4. For **Challenge Passage**, select a duration.
27+
4. For **Challenge Passage**, set a duration.
2928

3029
### Limitations
3130

src/content/docs/cloudflare-challenges/challenge-types/javascript-detections.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
order: 3
88
---
99

10-
import { Render } from "~/components"
10+
import { Render, Tabs, TabItem } from "~/components"
1111

1212
<Render file="javascript-detections-definition" />
1313

src/content/partials/cloudflare-challenges/javascript-detections-enable.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,21 @@
33

44
---
55

6+
import { Tabs, TabItem, Steps } from '~/components';
7+
68
To enable JavaScript Detections:
79

8-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
10+
<Tabs syncKey="dashNewNav"> <TabItem label="Old dashboard">
11+
<Steps>
12+
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
913
2. Go to **Security** > **Bots**.
1014
3. Select **Configure Bot Management**.
1115
4. For **JavaScript Detections**, switch the toggle to **On**.
16+
</Steps>
17+
</TabItem> <TabItem label="New dashboard" icon="rocket">
18+
<Steps>
19+
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
20+
2. Go to **Security** > **Settings**.
21+
3. Under your bot traffic plan configurations, select the edit icon for **JS detections** to enable it via a toggle.
22+
</Steps>
23+
</TabItem> </Tabs>

0 commit comments

Comments
 (0)