Skip to main content
SuperchargePerformance Free

Smart Page Cleanup: Cookie Banners & Popups (2026)

Auto-rejects cookie banners, hides persistent ad slots with CSS rules, and blocks unsolicited popups. Three behaviors under one toggle, off by default.

Updated

Smart Page Cleanup bundles three cleanup behaviors into a single toggle. It’s off by default — CSS injection can occasionally leave empty layout gaps where ad slots used to sit, so the toggle is opt-in. Turn it on once and AutoConsent, persistent ad hiding, and popup blocking all run together.

Cookie consent banners fire before you can interact with a page. Smart Page Cleanup uses the AutoConsent library to detect them and dismiss them by selecting the reject/decline path — not accept. The banner disappears. No click required.

AutoConsent supports hundreds of consent management platforms. Banners that use non-standard implementations may not be detected. In those cases the banner remains and you can click manually as usual.

Cosmetic Ad Hiding

Some ad slots survive network-level blocking. The ad network’s domain gets blocked, but the container div stays on the page — an empty box where an ad would have loaded. Cosmetic rules target those containers with CSS and collapse them.

These are CSS injections, not DOM removals. The page structure stays intact; the empty containers are hidden. Page functionality is unaffected.

Unsolicited popups come from window.open() calls triggered by page scripts rather than user actions. Smart Page Cleanup intercepts those calls and drops the popup before the browser opens a new window.

Popups that follow a direct user click — OAuth flows, download dialogs, payment processor windows — are allowed through. The distinction is whether the window.open() traces back to a genuine user gesture within a 1-second window.

When to Turn It Off

Smart Page Cleanup is a single toggle — there’s no per-behavior control. If a site’s cookie preferences need to persist (say, a subscription site you’ve already logged into), add that domain to the whitelist instead of disabling the feature globally.

Frequently Asked Questions

Does cookie banner rejection actually select 'Reject all' rather than 'Accept all'?
Yes. SuperchargePerformance uses the AutoConsent library to detect consent dialogs and selects the privacy-preserving option — 'Reject all' or 'Manage preferences → off' depending on what the site offers. It does not accept cookies on your behalf.
Will cosmetic blocking break page layouts?
Cosmetic rules hide ad slots using CSS injection — they set elements to display:none rather than removing them from the DOM. Most pages account for the empty space in their layout. In rare cases a layout gap may appear where an ad slot was. The cosmetic rules do not touch functional page elements.
What kinds of popups does this block?
SuperchargePerformance intercepts window.open() calls that don't originate from a direct user gesture. Popups triggered by user clicks — file downloads, OAuth login windows, payment processors — are not blocked. Unsolicited marketing overlays and exit-intent popups are.
Can I use Smart Page Cleanup without the main content blocking slider?
Yes. The Smart Page Cleanup toggle is independent. You can leave content blocking at Off and run only Smart Page Cleanup, or run both simultaneously. They don't conflict.
Does this interact with the whitelist?
Adding a domain to the whitelist exempts it from Smart Page Cleanup alongside all other Perf features. If you want cookie banners to appear on a specific site, whitelist that domain.

Related Features

From the Library