top | item 42966050

(no title)

synthomat | 1 year ago

That's nice and everything but what to do about the EU cookie banners? Does hosting outside of the EU help?

discuss

order

cess11|1 year ago

No. Tell the services you're using to stop with the malicious compliance.

busymom0|1 year ago

Would recommend using SeleniumBase's CDP mode to search for those substrings, click accept on those cookie banners and then take screenshot.

gkamer8|1 year ago

Yeah the EU cookie banners are annoying, I'm hoping to do some automation to click out of them before taking the screenshots

cjr|1 year ago

There are browser extensions you could run like consent-o-matic to try to click and hide the cookies from your screenshots:

https://chromewebstore.google.com/detail/consent-o-matic/mdj...

Otherwise using a combination of well-known class names, ‘accept’ strings, and heuristics such as z-index, position: fixed/sticky etc can also narrow down the number of likely elements that could be modals/banners.

You could also ask a vision model whether a screenshot has a cookie banner, and ask for co-ordinates to remove it, although this could get expensive at scale!