General

Fixing cookies are blocked for a website with shields down on Brave

Advertisements

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)

Saransh Kataria

Born in Delhi, India, Saransh Kataria is the brain behind Wisdom Geek. Currently, Saransh is a software developer at a reputed firm in Austin, and he likes playing with new technologies to explore different possibilities. He holds an engineering degree in Computer Science. He also shares his passion for sharing knowledge as the community lead at Facebook Developer Circle Delhi, NCR which is a developer community in Delhi, India.

Share
Published by
Saransh Kataria

Recent Posts

Generating a QR code using Node.js

I was preparing a slide deck for a hackathon and decided to put in a…

3 months ago

How to clear the global npx cache

I have been using npx a lot lately, especially whenever I want to use a…

3 months ago

Copy/Pasting output from the terminal

Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is…

4 months ago

How To Get The Hash of A File In Node.js

While working on a project, I wanted to do an integrity check of a file…

5 months ago

Native popover API in HTML

Popovers have been a problem that was typically solved by using a third-party solution. But…

5 months ago

Node.js 20.6 adds built-in support for .env files

Node.js 20.6 added built-in support for the .env file. This is an excellent addition to the platform…

5 months ago
Advertisements