There are a few reasons this could be happening.
Security Extensions (Chrome, Firefox)
If you are using DuckDuckGo Privacy Essentials with Chrome, try to disable site protections for this plugin.
- Temporarily disable any browser security extensions that you use.
- Reload the site and accept cookies.
- (option) Re-enable security extensions.
This started happening to me beginning in the March/April 2023 time frame. It wasn't happening with any other website I visit regularly.
It's unclear which specific blocked resource may be the issue, but in the Developer Tools Network you can observe some of them.
After unblocking the resources, the decision to accept cookies will be saved for any future visits.
Reset Cookies and Site Permissions (Chrome)
This is already covered in another answer, but open chrome://settings
and search for Cookies and other site data.
- Go to See all site data and permissions.
- Search for stackoverflow.com
- Select
Clear data
and Reset permissions
.
If the decision to accept cookies is not saved because cookies are blocked or popups are blocked the site will keep opening the modal.