diff --git a/src/content/partials/bots/javascript-detections-definition.mdx b/src/content/partials/bots/javascript-detections-definition.mdx index f3df350b3d46893..cdd8ca9a6b1e68b 100644 --- a/src/content/partials/bots/javascript-detections-definition.mdx +++ b/src/content/partials/bots/javascript-detections-definition.mdx @@ -11,6 +11,10 @@ JavaScript detections are another method that help Cloudflare identify bot reque ## What are JavaScript detections? -These detections are implemented via a lightweight, invisible JavaScript code snippet that follows Cloudflare’s [privacy standards](https://www.cloudflare.com/privacypolicy/). JavaScript is injected only in response to requests for HTML pages or page views, excluding AJAX calls. API and mobile app traffic is unaffected. Additionally, code is not injected again until the current session expires. After page load, the script is deferred and utilizes a separate thread (where available) to ensure that performance impact is minimal. +These detections are implemented via a lightweight, invisible JavaScript code snippet that follows Cloudflare’s [privacy standards](https://www.cloudflare.com/privacypolicy/). JavaScript is injected only in response to requests for HTML pages or page views, excluding AJAX calls. API and mobile app traffic is unaffected. JavaScript detections have a lifespan of 15 minutes. However, the code is injected again before the session expires. After page load, the script is deferred and utilizes a separate thread (where available) to ensure that performance impact is minimal. The snippets of JavaScript will contain a source pointing to the challenge platform, with paths that start with `/cdn-cgi/challenge-platform/...` + +:::note +The information in JavaScript detections which populates `js_detection.passed` is stored in the `cf_clearance` cookie. +::: \ No newline at end of file