browser extensioncookie bannerspage analysisGDPR

How AI Browser Assistants Handle Cookie Banners and Consent Walls

Cookie consent popups block page content from both users and AI assistants. Here's why they're harder to navigate than they look, what AI can and can't do about them, and the practical workaround that actually works.

· By Browsy Team

Key takeaways

  • Cookie banners are implemented in at least a dozen different ways — full-page overlays, shadow DOM components, iframe injections — which means no single detection method handles all of them reliably.
  • When a modal overlay blocks the page, the AI can only see text inside the overlay itself, not the article beneath it, until the user dismisses it.
  • A BYOK extension like Browsy reads DOM content from the page your browser has already rendered — it cannot click consent buttons or interact with the page on your behalf.
  • The reliable workaround: dismiss the banner yourself, then ask the AI. The overlay gone, the full article text becomes available for summarizing, highlighting, and analysis.
  • Most consent popups can be dismissed in one or two clicks — pressing Escape works on many CMPs; 'Manage preferences' almost always reveals a Reject all option.

Most discussion of AI assistants focuses on the quality of their responses. Less discussed: what happens when the page content isn’t actually visible yet because a cookie banner is covering it.

If you’ve used an AI browser extension and gotten a summary of a consent popup instead of the article you wanted to read, this is why — and the fix is simpler than the underlying problem suggests.

A cookie banner is not a standard UI element. There is no browser API called “consent dialog.” Instead, each Consent Management Platform (CMP) ships its own implementation, and they vary enormously:

Full-page modals with aria attributes — The overlay is a <dialog> or an element with role="dialog" layered over the page with z-index. The underlying article is in the DOM but visually obscured and blocked from interaction.

Fixed <div> overlays without modal semantics — Similar in effect but without accessibility structure. Common on news sites. The content below exists in the DOM but the overlay intercepts all scroll and click events.

Shadow DOM encapsulation — Platforms like OneTrust embed their consent UI inside a Shadow DOM tree, separating it from the host page’s CSS and JS. A normal document.querySelector() call on the host page returns nothing for the consent UI — you’d have to traverse into the shadow root explicitly.

iframe-injected banners — Some CMPs load the entire consent dialog into a cross-origin <iframe>. This creates a hard boundary: scripts in the host page can’t reach the iframe contents at all under the same-origin policy.

pointer-events: none body blocks — The banner doesn’t overlay the content visually, but pointer-events: none or overflow: hidden is applied to <body> via JavaScript until consent is given, making scrolling and clicking impossible below it.

None of these approaches is standardized. Websites have every incentive to maximize consent rates by making the “Accept all” path easy and the “Reject” path hard to find, and regulators have been inconsistent about enforcing the equal-prominence rules that would standardize the UX.

What an AI extension sees

A browser extension’s content script reads what the browser has rendered into the DOM — which means it has the same view of the page your browser does. If a modal overlay is blocking the article, the content script sees the same blocked state.

When Browsy summarizes a page with an active consent popup, one of a few things happens:

  1. The overlay is a simple z-index layer. The article text is in the DOM below it. Depending on how the content extraction works, the AI may summarize the article, the consent text, or a garbled mix of both.

  2. The overlay uses aria-modal="true". Assistive-technology-aware extraction will see only the modal’s content — the consent UI — because aria-modal signals to any reader that nothing outside the dialog should be processed.

  3. The overlay is in a shadow DOM or cross-origin iframe. The main page DOM looks almost empty above the fold, which is exactly how it appears to the content script. The AI receives very little to work with.

The result varies by site, by CMP, and by how the extension extracts text. The one consistent outcome: the AI cannot reliably summarize an article it cannot fully read.

What AI can’t do about it

The obvious question is whether an AI assistant can just dismiss the consent banner automatically. The answer is mostly no, for a combination of technical and design reasons.

Technical limits: A BYOK extension like Browsy operates as a side-car to your browsing — it reads page content and sends it to an AI provider. It does not have browser automation permissions (the kind a tool like Playwright or Selenium uses) to programmatically click buttons or submit forms on your behalf. The extension can read; it can’t act on the page.

Even if it could: Automatically clicking “Accept all” on behalf of users would mean consenting to data processing without the user making that choice. That’s the opposite of what a privacy-respecting tool should do.

Some extensions do offer automatic consent dismissal using blocklists (EasyPrivacy-style) that prevent consent JavaScript from loading at all — but these are static blocklists, not AI decisions, and they work at the network layer rather than the DOM layer. They also break some sites’ functionality when the consent mechanism is intertwined with the site itself.

The practical workaround

The most reliable approach is the simplest: dismiss the banner yourself first, then ask the AI.

For most sites, finding the “Reject all” or “Decline” option takes one or two clicks. Once the overlay is gone, the article is fully visible in the DOM and Browsy can summarize, highlight, or analyze it normally.

A few shortcuts that work on many CMPs:

  • Press Escape — Many modal dialogs dismiss on Escape, including several CMPs. Worth trying first.
  • Look for “Manage preferences” or “Manage cookies” — This usually reveals a simpler “Reject all” button that wasn’t visible on the first screen.
  • OneTrust (the dark banner on many news sites): There’s usually a “Reject All” link at the very bottom of the first screen, below the “Accept” button.
  • Cookiebot (common on European sites): “Deny” typically appears on the first consent screen at equal weight to “Allow all.”
  • Didomi: “No thanks” or “Decline” usually appears as a text link below the main consent buttons.

Once the page is clear, Browsy has full access to the article text and can work normally.

Why this is a browser ecosystem problem more than an AI problem

The underlying issue is that cookie banners exist outside the normal flow of web content — they’re a compliance layer placed between the user and the content, governed by ad-tech infrastructure rather than editorial systems. No AI assistant, browser extension, or reader mode handles all of them perfectly, because there’s no standard to handle.

The browsers themselves have started responding to this: Chrome has explored a permission-oriented API, and Safari’s Intelligent Tracking Prevention sidesteps some consent requirements by limiting the third-party tracking that requires consent in the first place. Neither fully solves the UX problem.

Until there’s a standard, the practical approach remains the same: you dismiss the banner, and then the AI does what it’s good at.


Once the page is clear, Browsy can summarize, compare, highlight, and analyze it — and you can verify every AI request is going directly to your provider’s domain with no intermediary, exactly as described in the BYOK architecture overview.

Ready to try it?

Browsy is free — no account required

Add to Chrome — Free