NewAPI
Hide cookie consent pop-ups.
Add block_cookie_banners=true to hide consent dialogs from the major consent platforms and unlock scrolling, on every plan.
Add block_cookie_banners=true, and consent dialogs are hidden before the screenshot.
curl -G "https://api.urlshot.io/v1/screenshot" \
-H "Authorization: Bearer $URLSHOT_API_KEY" \
--data-urlencode "url=https://example.com" \
--data-urlencode "block_cookie_banners=true" \
--data-urlencode "full_page=true" \
--output screenshot.png
- It recognises 14 consent platforms, among them OneTrust, Cookiebot, Didomi, Quantcast and Usercentrics.
- It unlocks scrolling that a dialog has locked, even when no dialog was found, so
full_pagecaptures the whole page. - It hides; it doesn’t consent. No button is clicked for you, so a site that waits for your choice before showing its content still waits.
- Missed one?
hide_selectorsandcustom_cssare applied after it.
It works on every plan, including Free.
Try it on your own pages.
Everything in this changelog is live. 100 free screenshots a month, no credit card needed.