# Automatic cookie consent banner blocking

June 18, 2025

We’ve added a new `block_consent_banners` parameter that automatically blocks cookie consent popups and banners on websites. When set to `true`, the API will detect and hide common consent frameworks like OneTrust, Cookiebot, Quantcast Choice, TrustArc, and many others.

This feature is especially useful for URL screenshots where cookie banners can interfere with the desired content. Instead of manually writing CSS to hide specific banners, you can now use this single parameter to handle most cases automatically.

The automatic blocking is maintained and updated regularly to support new consent frameworks as they emerge. For custom implementations not covered by the automatic blocking, you can still use the existing CSS injection method.

[All updates](/changelog/)

Previous: [Single-Request Image Generation endpoint](/changelog/2025-06-15-single-request-image-generation-endpoint/) — Jun 15, 2025

Next: [MCP Server for AI Assistants](/changelog/2025-12-29-mcp-server-for-ai-assistants/) — Dec 29, 2025
