How do you handle privacy policy pop up window?

No modify or inject js into the page, only to close the cookie alert window by clicking the button with javascript. But keep original html page. My code is similar to taifun´s tutorial and is working, but i only want to close the very first cookie window.

I got the id now from green button, may i can use this document.getElementByID('cmpbntyestxt').click(); code.

<span id="cmpbntyestxt">Alle akzeptieren</span>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.