Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk4 min

How to Hide Cookie Banners and Pop-Ups in Microlink Screenshots

Microlink blocks matching third-party consent requests by default, but first-party cookie banners may need CSS, a click, or a custom script before capture.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Microlink’s adblock is documented as enabled by default and blocks matching requests for third-party ads, trackers, and consent services before a page renders. It does not automatically remove every banner: a cookie notice built into the website itself may remain. For that, use Microlink’s page controls to hide the element with CSS, click a close or accept control, or run a script for custom behavior. On dynamic pages, wait for a selector that confirms the intended content or state is ready before capturing.

Choose the right way to handle the banner

Start by identifying whether the clutter comes from a third-party service or the website’s own interface. The difference matters: blocking a network request, hiding an element, and clicking a control do not have the same effect.

Situation Microlink option Effect and caveat
A third-party consent service, ad, or tracker is cluttering the page adblock Microlink documents adblock as on by default. It blocks matching requests before rendering; a first-party banner may remain. Microlink’s adblock parameter documentation.
A known first-party banner should not appear in the image styles Inject CSS to hide the element visually. This does not accept consent or change the underlying behavior of the site. Check the selector against the live page. Microlink’s styles parameter documentation.
The page has a close, dismiss, or accept control that should be activated click Click the relevant selector before capture. This changes page state, so use it only when that interaction matches the screenshot’s purpose. Microlink’s click parameter documentation.
A custom interaction is needed scripts Run JavaScript in the page context before capture. Use it when a click or injected style cannot express the required action. Microlink’s scripts parameter documentation.
The page or post-dismissal content loads asynchronously waitUntil and waitForSelector Wait for navigation readiness and then for an element that indicates the desired page state. Prefer a stable selector over an arbitrary delay when possible. Microlink’s wait parameter documentation.

Hide a first-party banner with CSS

Use the styles option when the banner should simply be absent from the screenshot and you know its selector. For example, replace .cookie-banner with the selector used by the target page:

{
  "url": "https://example.com",
  "screenshot": true,
  "styles": ".cookie-banner { display: none !important; }"
}

Send the JSON as the body of a request to Microlink’s API endpoint, following its current authentication and request format. The example shows the page-level option, not a guarantee that every site uses that selector. If the banner is inside an iframe or its selector changes between visits, the rule may not match; inspect the actual page and adjust accordingly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

CSS changes only what is displayed in the capture. It does not indicate that a visitor consented, nor does this technique establish anything about the site’s legal compliance or data collection.

As an Amazon Associate I earn from qualifying purchases.

Dismiss a banner by clicking its control

When the page exposes a suitable button, use click with the selector for the close, dismiss, or accept control. For example, the selector might be button.accept-cookies, but the actual selector must come from the target page:

{
  "url": "https://example.com",
  "screenshot": true,
  "click": "button.accept-cookies"
}

A click can alter site state rather than merely hide pixels. Choose a dismissal control that is consistent with what the screenshot is meant to show; do not treat clicking “accept” as equivalent to CSS concealment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a script only for custom behavior

Microlink documents scripts for running JavaScript in the page context. This is useful when the needed interaction cannot be represented by a selector click or a CSS rule, such as a site-specific sequence of actions. The exact script depends on the page, so there is no universal banner-removal script. Keep the action narrowly scoped and verify that it produces the intended page state before relying on the screenshot.

Wait for the intended page state

On a single-page app or another asynchronously rendered page, capture timing is a separate problem from banner handling. Combine an appropriate navigation lifecycle wait using waitUntil with waitForSelector for the content or state that should appear in the image. For example, wait for the page’s main content after dismissing a banner, rather than assuming navigation completion means all relevant content is ready. A fixed delay is available when necessary, but a selector tied to the expected state is more precise when a stable one exists.

When not to suppress the interface

If the screenshot is meant to document or audit the consent experience, leave the banner visible and avoid clicking its controls. Blocking third-party requests or hiding first-party UI can make the capture unsuitable for that purpose. Decide what the image needs to evidence before configuring the request.

Microlink screenshot API context

Microlink describes its screenshot service as a REST API that returns website captures, with image output and browser/page settings such as viewport and full-page capture. Its API overview listed a free tier of 25 requests per day when reviewed on October 3, 2026; that is a vendor-stated plan limit and may change. Check Microlink’s current API documentation for the active parameter names, request format, and quota before integrating.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Or skip the browser setup

ScreenshotNeo is a screenshot API and MCP server. Its one-call API can return a screenshot or PDF, with cookie banners, pop-ups, and chat widgets removed before the shot; each of those cleanup steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and responses indicate the page verdict and billing status. Its MCP server gives AI agents screenshot tools.

Example cURL request (see the ScreenshotNeo API documentation):

Rank #2
Free Fling File Transfer Software for Windows [PC Download]
  • Intuitive interface of a conventional FTP client
  • Easy and Reliable FTP Site Maintenance.
  • FTP Automation and Synchronization
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

ScreenshotNeo’s free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for free.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

Does Microlink remove every cookie banner automatically?

No. Its documented default adblock covers matching third-party requests; first-party page UI may need a separate page-level action.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Should I use CSS or click the banner button?

Use CSS when the goal is only to hide the element in the image. Use a click when the page should actually respond to its control.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.