I recently switched completely to the Brave browser and have set ad blocking to aggressive mode because ads were still showing on some websites. This however, broke my WordPress website since it relies on cookies.
I thought just taking the shields down for the website would be enough but WordPress would give me the “cookies are blocked” error every time I tried to log in.
It was annoying and I did not want to globally enable cookies. After some research, turns out that I needed to enable cookies for all subdomains of the website for this to function correctly. Brave by default only adds the root domain to the list of sites that are allowed to use third-party cookies. In WisdomGeek‘s case, it was adding www.wisdomgeek.com to the list and nothing else.
The fix was to enable cookies for the website in Brave Settings. To do so, I had to add [*.]wisdomgeek.com
to cookie settings (brave://settings/cookies) and voila! Everything started working after that. I hope that that helps you in fixing “cookies are blocked” for a particular website on Brave even after disabling shields for the website. (Shields will still need to be disabled for the website if your settings are set to aggressive mode)
I was preparing a slide deck for a hackathon and decided to put in a…
I have been using npx a lot lately, especially whenever I want to use a…
Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is…
While working on a project, I wanted to do an integrity check of a file…
Popovers have been a problem that was typically solved by using a third-party solution. But…
Node.js 20.6 added built-in support for the .env file. This is an excellent addition to the platform…