---
title: "Cloudflare \"Just a moment...Enable JavaScript and cookies to continue\""
description: "Cloudflare's \"Just a moment...\" page is a bot check, not the site. We hit it on 6 of 100 sites. What it means, what got through, and how to fix it."
url: "https://scrapenews.com/errors/cloudflare-just-a-moment"
updated: "2026-11-26T00:00:00Z"
---

# Cloudflare "Just a moment...Enable JavaScript and cookies to continue"

Cloudflare · Just a moment...

Published 16 Nov 2026 · Updated 26 Nov 2026

What you see

- `Just a moment...Enable JavaScript and cookies to continue`
- `Just a moment...`
- `<title>Just a moment...</title>`
- `One moment, please…`

**More error strings (4)**

- `Verify you are human by completing the action below.`
- `Enable JavaScript and cookies to continue`
- `needs to review the security of your connection before proceeding`
- `cf-mitigated: challenge`

## What it means

`Just a moment...Enable JavaScript and cookies to continue` is Cloudflare’s bot check, not the site. It is checking that a real browser is asking, not a script. So you got a check page, usually with status 403 (refused), instead of the page you wanted.

## What we measured: 6 of 100 sites showed it

We asked 100 well-known sites for one page apiece from a datacenter IP (probe run `2353`, 25 Nov 2026, 23:53 UTC).

- **6 answered with this check:** Crunchbase, Cdiscount, Indeed, SimplyHired, TickPick and Yellow Pages. All 6 sent HTTP 403 and the `cf-mitigated` header.
- **Only 3 of the 6 said “Just a moment…”.** The others said “One moment, please…”, “Security Check - Indeed.com” and, in French, “Vérification de l’appareil”. So match the header, not the words.

Then we tried a second time on 26 Nov 2026:

| what we tried | what opened (of the 6) |
| --- | --- |
| the same plain request from a residential IP (runs `0129-oxy-resi`, `0129-bd-resi`) | 4: Indeed, SimplyHired, Yellow Pages, and Crunchbase on the second provider |
| a real browser on a residential IP, 3 tries per tool (patchright, camoufox) | Cdiscount, 3 of 3 with patchright, 3 of 3 with camoufox |
| nothing we tried | TickPick |

Which tool types get around it:

- [Residential proxies](https://scrapenews.com/compare/residential-proxies.md): the cheapest fix that worked for us, on 4 of the 6 sites.
- A real session ([browser automation](https://scrapenews.com/compare/browser-automation.md)) on a residential IP, which was needed for Cdiscount.
- [Scraper and unblocker APIs](https://scrapenews.com/compare/scraper-apis.md) and [cloud browsers](https://scrapenews.com/compare/cloud-browsers.md) run the step for you. We have not measured them on this check yet.
- [CAPTCHA solvers](https://scrapenews.com/compare/captcha-solvers.md): only for the checkbox variant (Turnstile).
- Free tools with one setting for every site, on the Cloudflare sites in our test (all sites; [open-source benchmark](https://scrapenews.com/benchmarks/open-source.md), run scrapenews-open-source-benchmark-2026-11-26, 26 Nov 2026). Top tools: Scrapling StealthyFetcher, Botasaurus, Patchright, nodriver and Crawl4AI tie (63–76%). Top HTTP clients: curl_cffi, curl-impersonate, tls-client and Scrapling Fetcher tie (43–57%).

Residential proxies: price for 10 GB a month, cheapest first

| Vendor, plan it picks | Total a month | $/GB | Total a year | Free trial · note · source |
| --- | --- | --- | --- | --- |
| [HProxy Residential Proxies](https://scrapenews.com/compare/hproxy.md) (Lite: 10 GB) | $4.70 | $0.47 | $56.40 | ([hproxy.com · 29 Nov 2026](https://hproxy.com/residential-proxies)) |
| [CakeIP](https://scrapenews.com/compare/cakeip.md) (10GB) | $6.00 | $0.60 | $72 | promo price ([cakeip.com · 29 Nov 2026](https://www.cakeip.com/ip/trendsLong)) |
| [Geonode Residential Proxies](https://scrapenews.com/compare/geonode.md) (10 GB Plan) | $7.92 | $0.79 | $95.04 | free trial: $5 = 10 GB for 3 days ([geonode.com · 29 Nov 2026](https://geonode.com/pricing/residential-proxies)) |
| [ProxyBase Residential Proxies](https://scrapenews.com/compare/proxybase.md) (Pay as you go) | $8.50 | $0.85 | $102 | ([proxybase.org · 29 Nov 2026](https://proxybase.org/pricing)) |

List prices from each vendor’s pricing page, US dollars before tax, live from our price data. Your own size, in the price calculator: [Residential proxies](https://scrapenews.com/compare/residential-proxies.md).

## Why it happens

The site owner set a rule that challenges some visitors. Cloudflare’s name for it is a challenge page: a full-page screen you see before the real page. It comes from a firewall rule, bot protection or a rate limit. Common reasons it picked you:

1. **Your client can’t run JavaScript.** The check runs a script in the browser. `requests`, `curl` and plain `fetch` never run it. So they never pass.
2. **Your client doesn’t look like a browser.** Cloudflare reads your TLS fingerprint (JA3/JA4: the pattern of how your client opens a secure connection). A Python HTTP client has a different pattern than Chrome.
3. **You asked for data, not a page.** The check is always an HTML page. API calls and WebSockets that want JSON or data just break.
4. **Your pass cookie is gone or doesn’t match.** Passing the check gives you a `cf_clearance` cookie, valid 30 minutes by default. Lose it or reuse it from another IP or user agent, and you’re checked again.
5. **Too many requests, or the site is getting hit by an attack.** Rate limits can trigger challenges. In “Under Attack mode”, every visitor gets the check page.

The page may say “Just a moment…”, “Verify you are human by completing the action below.” or “Enable JavaScript and cookies to continue”. Same check.

What does the check actually test? Cloudflare runs small jobs inside your browser: puzzles your computer has to solve (proof-of-work), probes of browser features, and tests for quirks that real browsers have. Based on the answers, it lets you through, shows a checkbox or keeps you there.

A script that only downloads HTML never runs any of that, so it never earns the pass cookie, no matter how many times it retries.

The fingerprint test works even before any HTML. It comes from the way your client says hello when it opens a secure connection, not from your IP. A new proxy alone doesn’t change it.

Passing once isn’t the end, either. Cloudflare also keeps judging your session by how it behaves, through a feature called Precursor. If the session starts to look suspicious, then your pass can be weakened or cancelled.

## Fix it

1. **Confirm it’s a challenge.** Look for the response header `cf-mitigated: challenge`. A 403 with no Cloudflare branding comes from the site’s own server. That is a different problem.
2. **Slow down.** If a rate limit is the trigger, fewer requests a minute avoid it.
3. **Try a residential IP** (one from a home internet line). In our runs, this alone opened 4 of 6 sites that showed the check to a datacenter IP.
4. **Use a real browser** (Playwright, Puppeteer, Selenium) so the check’s JavaScript runs. Most human visitors pass it without noticing, and the script-only check usually takes under 5 seconds. Wait for the real page before you read the HTML.
5. **Keep that cookie, IP and user agent together.** Save `cf_clearance` and send it back. Use the same IP and user agent that earned it. Expect a new check after about 30 minutes.
6. **Fix your fingerprint for plain HTTP.** `curl_cffi` copies a real browser’s TLS plus HTTP/2 fingerprints, so a script looks less like a script.
7. **Checkbox keeps showing?** That’s the interactive version of the check (the same tech as Cloudflare’s Turnstile widget). It needs a person or a CAPTCHA-solving service that lists Turnstile support.
8. **Your own site or API?** Exempt API and WebSocket paths from the challenge rule, and for APIs, Cloudflare suggests Turnstile Pre-clearance: users pass once on a normal page, then calls go through.

Why check the header first? A 403 from the site’s own server has nothing to do with bots. A real browser won’t solve it.

Why keep IP and user agent fixed? Cloudflare says the cookie is tied to the visitor and device it was issued to. So it can’t be shared between machines. Solving the check on one box and then spreading the cookie over a pool of proxies doesn’t work.

Passes also have levels. The interactive check (a click) gives the highest pass, which covers every lower check. A pass from the script-only check covers only script-only checks. So if a site raises its rule to interactive, your old cookie stops helping.

Our advice is to treat each challenge as a signal. Slow down and fix your setup before you try again, rather than hammering the site.

Paste this into your AI

```
My scraper gets a Cloudflare "Just a moment..." challenge page instead of the real page.
Status: <status code, e.g. 403>. Header cf-mitigated: <value or "missing">.
Explain in plain words what this challenge is.
Then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library>, <the URL pattern>, <requests per minute>,
<proxy type or none>, <the request headers I send>, <do I keep cookies between requests: yes/no>.
```

## Dev details

A challenged response and key parts:

```http
HTTP/2 403
cf-mitigated: challenge
content-type: text/html
```

- `cf-mitigated: challenge` is added to every challenge page type, and `challenge` is its only value. Cloudflare docs call it the reliable way to detect one.
- `content-type` is always `text/html`, even if you asked for JSON. So a challenge often shows up as a JSON decoding error.
- Body markers seen in real crawls: `<title>Just a moment...</title>`, `challenge-platform`, `Enable JavaScript and cookies to continue`.

Check for it before you parse:

```js
const res = await fetch(url, { headers });
const html = await res.text();
const challenged =
  res.headers.get("cf-mitigated") === "challenge" ||
  html.includes("<title>Just a moment...</title>");
if (challenged) throw new Error(`Cloudflare challenge on ${url} (status ${res.status})`);
```

Edge cases:

- **Silent bad data.** In [one crawl](https://github.com/lorenzoervedosa/dograpper/issues/69) of about 1,900 pages, 5 were saved as challenge screens and passed on as empty records with no warning. So check every page, not just the status of the first one.
- **WebSockets.** In [one report](https://github.com/beril-doe/BERIL-research-observatory/issues/293), a WebSocket endpoint got the managed check with HTTP 403. A browser solved it; the code client could not.
- **Challenge types.** Non-interactive (script only), managed (Cloudflare picks, may show a tick box) and interactive (always needs a click). Cloudflare recommends managed for most rules.
- **Cookie details.** `cf_clearance` is set with `SameSite=None; Secure; Partitioned`. Cloudflare tacks on a few minutes for clock skew, plus an extra hour for XHR requests.
- **Rate limits.** Challenge Passage (the cookie’s free pass) does not apply to rate limiting rules, and passing once won’t stop those checks.
- **503 instead of 403.** Some users get the same page with HTTP 503. A [2021 Cloudflare Community thread](https://community.cloudflare.com/t/js-challenge-changes-get-request-to-post/300387) reports it for the older JS challenge, while a [May 2026 bug report](https://github.com/anthropics/claude-code/issues/55346) reports it for a managed challenge that hit a PowerShell install command. Match on `cf-mitigated`, not on the status code.

In a pipeline, make the challenge a named outcome, not a crash. Check `cf-mitigated` on every response, log the URL, and count challenges per domain. A sudden jump means the site flagged your setup or changed its rules.

Never pass a challenged page on to parsing or storage. Retry it later or mark it as missing. Otherwise you collect empty records that look fine, just like the crawl above.

If you run the site: Turnstile on its own gives a one-time token, and your server must check it with Cloudflare’s Siteverify API. Cloudflare warns that skipping that call leaves the setup incomplete. With pre-clearance on, Turnstile also sets `cf_clearance`, at a level you choose: `interactive`, `managed`, `jschallenge` or `no_clearance` (the default).

With Advanced Rate Limiting, rate limits can also be keyed on the Clearance UUID (`http.request.clearance.uuid`). That ID stays the same when Cloudflare refreshes the cookie, so the counter doesn’t reset.

## Questions

### How long does the cf_clearance cookie last?

30 minutes by default. The site owner can change it; Cloudflare recommends 15 to 45 minutes. After that you get a new challenge.

### Can I copy cf_clearance from my browser into my script?

Only if your script uses the same IP address and the same user agent as the browser that got the cookie, says the CF-Clearance-Scraper project. Change either one and the cookie stops working.

### Why does the check keep coming back in a loop?

Cloudflare lists: a bad network connection, browser extensions that block its scripts, an unsupported browser, JavaScript turned off, or strong bot signals from your setup.

## scrapenews difficulty

**56**/100 · Moderate  (from 5 of 8 factors)

| Factor | What we found | Source |
| --- | --- | --- |
| Smallest client that gets through | a stealth browser | [developers.cloudflare.com](https://developers.cloudflare.com/bots/concepts/bot-detection-engines/) |
| Checks stacked | JavaScript challenge, IP reputation, mouse and behaviour | [scrapingbee.com](https://www.scrapingbee.com/blog/cloudflare-scraper/) |
| Cheapest solver price | $1.20 per 1,000 solves | [docs.capsolver.com](https://docs.capsolver.com/en/pricing/) |
| Scraper API credits | 75 credits per request (a plain request is 1) | [scrapingbee.com](https://www.scrapingbee.com/scrapers/cloudflare-scraper-api/) |
| Steps for a human | none: nothing to click | [developers.cloudflare.com](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/) |

Our analysis of 5 sourced facts; measured runs replace them as they come. [How we rate difficulty](https://scrapenews.com/rating.md)

## Related

- [Why am I blocked? How to avoid getting blocked while scraping](https://scrapenews.com/guides/how-to-avoid-getting-blocked-scraping.md)  (Guide)
- [Scrape a JavaScript website with Playwright, and when not to](https://scrapenews.com/guides/scrape-javascript-sites-playwright.md)  (Guide)
- [Scraper and unblocker APIs](https://scrapenews.com/compare/scraper-apis.md)  (Compare)
- [Cloudflare Error 1005, 1006, 1009](https://scrapenews.com/errors/cloudflare-1005-1006-1009.md)  (Error)
- [Cloudflare Error 1010](https://scrapenews.com/errors/cloudflare-1010.md)  (Error)
- [Cloudflare Error 1015](https://scrapenews.com/errors/cloudflare-1015.md)  (Error)

## Tools that get past it

| Tool | Price |
| --- | --- |
| [2Captcha](https://scrapenews.com/compare/2captcha.md): CAPTCHA solving API (reCAPTCHA, Turnstile, image and more), priced per 1,000 solves by CAPTCHA type. | $1.00/1k solves |
| [Camoufox](https://scrapenews.com/compare/camoufox.md): Anti-detect browser built on Firefox that changes fingerprints to look like a real user; works with Playwright. | Free |
| [CapMonster Cloud](https://scrapenews.com/compare/capmonster-cloud.md): CAPTCHA solving service priced per 1,000 tokens or images, covering reCAPTCHA, Turnstile, AWS WAF and more. | $0.60/1k solves |
| [curl_cffi](https://scrapenews.com/compare/curl-cffi.md): Python HTTP client on curl-impersonate that can copy a browser's TLS, JA3 and HTTP/2 fingerprints. | Free |
| [Death By Captcha](https://scrapenews.com/compare/deathbycaptcha.md): CAPTCHA solving API, priced per 1,000 CAPTCHAs by type, with reCAPTCHA, Turnstile and audio support. | $2.89/1k solves |
| [Patchright](https://scrapenews.com/compare/patchright.md): Drop-in patched version of Playwright that hides common automation signs. | Free |

## Sources

1. [Cloudflare docs: Interstitial Challenge Pages](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/) developers.cloudflare.com
2. [Cloudflare docs: Detect a Challenge Page response](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/detect-response/) developers.cloudflare.com
3. [Cloudflare docs: Challenge Passage (cf_clearance lifetime)](https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage/) developers.cloudflare.com
4. [Cloudflare docs: Cloudflare cookies](https://developers.cloudflare.com/fundamentals/reference/policies-compliances/cloudflare-cookies/) developers.cloudflare.com
5. [Cloudflare docs: Clearance (cf_clearance levels, pre-clearance)](https://developers.cloudflare.com/cloudflare-challenges/concepts/clearance/) developers.cloudflare.com
6. [Cloudflare docs: Challenge solve issues](https://developers.cloudflare.com/cloudflare-challenges/troubleshooting/challenge-solve-issues/) developers.cloudflare.com
7. [Cloudflare docs: Error 403](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-403/) developers.cloudflare.com
8. [Cloudflare docs: Under Attack mode](https://developers.cloudflare.com/fundamentals/reference/under-attack-mode/) developers.cloudflare.com
9. [Cloudflare docs: Turnstile](https://developers.cloudflare.com/turnstile/) developers.cloudflare.com
10. [Cloudflare docs: JA3/JA4 fingerprint](https://developers.cloudflare.com/bots/additional-configurations/ja3-ja4-fingerprint/) developers.cloudflare.com
11. [CF-Clearance-Scraper README: cookie needs the same IP and user agent](https://github.com/Xewdy444/CF-Clearance-Scraper) github.com
12. [curl_cffi README: browser TLS/JA3 and HTTP/2 fingerprints](https://github.com/lexiforest/curl_cffi) github.com
13. [dograpper issue #69: challenge pages saved as real pages](https://github.com/lorenzoervedosa/dograpper/issues/69) github.com
14. [BERDL issue #293: WebSocket hit a managed challenge (403)](https://github.com/beril-doe/BERIL-research-observatory/issues/293) github.com
15. [Claude Code issue #55346: install command gets "Just a moment..." with HTTP 503](https://github.com/anthropics/claude-code/issues/55346) github.com
16. [Cloudflare Community: JS challenge answers the first GET with 503](https://community.cloudflare.com/t/js-challenge-changes-get-request-to-post/300387) community.cloudflare.com
17. [itch.io issue #1838: RSS readers get 403 and "Verify you are human"](https://github.com/itchio/itch.io/issues/1838) github.com
18. [eth2-client-metrics-exporter issue #6: "needs to review the security of your connection"](https://github.com/gobitfly/eth2-client-metrics-exporter/issues/6) github.com

## Up

- [Home](https://scrapenews.com/index.md)
- [Errors & CAPTCHAs](https://scrapenews.com/errors.md)
