Skip to main content
1 of 4
vanowm
  • 10.2k
  • 11
  • 6

Had same issue when the popup would come back after each page refresh on www.stackoverflow.com, regardless which button I press or what cookies I chose to enable. But once I visited meta.stackoverflow.com and accepted only Functional cookies, the popup no longer shown anywhere.

So the culprit was that www.stackoverlow.com only sets one cookie: OptanonConsent (which stores your preferences of allowed cookies). But to prevent the popup from showing again, another cookie must be set: OptanonAlertBoxClosed with any value (even empty), by default it sets with the date cookie preferences were changed, i.e 2021-03-31T23:09:03.572Z

vanowm
  • 10.2k
  • 11
  • 6