Skip to content
Browser messages3 min read

ERR_BLOCKED_BY_CLIENT: the browser blocked the request

ERR_BLOCKED_BY_CLIENT

Short answer

ERR_BLOCKED_BY_CLIENT means the browser itself stopped a file or request from loading, usually because of an ad blocker or privacy extension. It doesn't come from the server; it typically shows in the DevTools Console for files that look like ads or tracking, and it can break part of a page.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Common causes
  2. How to fix it
  3. Prevention
  4. On ArabyHost

“Client” here means the browser itself. The request didn’t fail on the network or the server; the browser stopped it before it left, because an extension or setting told it to. Visitors usually don’t see a full error page, just a broken piece of the page: a missing image, a payment button that does nothing, a form that won’t submit. The cause shows in the DevTools Console as net::ERR_BLOCKED_BY_CLIENT.

Common causes

  • Ad-blocking extensions such as uBlock Origin and AdBlock, plus privacy extensions.
  • File names or paths that look like ads and match filter lists: ads.js, /banner/, advert, track, pixel.
  • Third-party analytics and tracking scripts, which these extensions block by default.
  • Built-in browser blocking, as in Brave or tracking-prevention modes in some browsers.
  • Company device policies blocking certain sites or files, visible at chrome://policy.

How to fix it

If you’re a visitor

  1. Allow the site in your ad blocker: click the extension’s icon, pause it for this site and reload.
  2. Open a private window, where most extensions are off by default, to confirm an extension is the cause.
  3. Find the culprit at chrome://extensions by disabling extensions one at a time.
  4. On a work device, the block may be a policy set by your IT department.

If you own the site

  1. See what’s blocked: open DevTools (F12) » Console and Network with an ad blocker on, and note the files marked ERR_BLOCKED_BY_CLIENT.

  2. Rename files and folders that look like ads, for example ads-banner.jpg to promo-summer.jpg and /ads/ to /promo/. You can do it in cPanel’s File Manager, then update the links in your pages.

  3. Don’t make core features depend on tracking scripts: if the buy button or form waits for an analytics script, it breaks for anyone who blocks it. Make the code work even when the script fails to load:

    if (typeof gtag === 'function') {
      gtag('event', 'purchase');
    }
  4. Check WordPress plugins that add files with names like ads or tracking, and ask the developer for a rename option if there isn’t one.

  5. Tell it apart from other errors: if a file fails because it’s loaded over HTTP on an HTTPS page, that’s mixed content, not a block.

Prevention

  • Test the site with an ad blocker switched on before any launch or campaign.
  • Name files after their content, not their advertising purpose.
  • Cut down on third-party scripts; it also helps speed, as covered in the website speed guide.

On ArabyHost

This error has nothing to do with the hosting, and you won’t find it in the server logs because the request never arrived. The fix, though, usually happens in your site’s files: open cPanel with one click from the Araby Panel, rename the blocked files and folders in File Manager, and purge LiteSpeed Cache if your site runs WordPress so the new links show up. If you need a hand, Arabic-speaking support is available via the contact page.

FAQ

Does ERR_BLOCKED_BY_CLIENT mean my site is hacked?

No. It means a visitor's browser decided not to load a specific file, usually because of a blocking extension. The server never received the request.

Why can't I find this error in my server logs?

Because the browser stopped the request before sending it, so it never reached the server. You'll only see it in DevTools on the visitor's machine.

Should I ask visitors to turn off their ad blocker?

It's better to make the site work with ad blockers on, since many visitors use them. Use neutral file names and don't make core features depend on tracking scripts.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.