Thank you for providing the details. I was able to reproduce this, and it is a known defect that affects the Brave Browser:
opened 12:18PM - 06 Jun 23 UTC
feature/extensions
needs-more-info
OS/Desktop
## Description
Whenever using a chrome extension which adds declarativeNetRequ… est rules it will only work after reloading the extension after browser startup. Brave doesn't check for these rules on browser startup so I need to reload the extension to get it to work allowing the content security policies rather than blocking them.
## Steps to Reproduce
1. Have a Chrome Extension which uses declarativeNetRequests (Manifest v3)
2. Restart your browser
3. You will now see that whatever that extension was adding to a website is not getting added until you reload that extension. (Just shows content-security-policy errors in Console)
## Reproduces how often:
Easily reproduced
## Brave version (brave://version info)
1.52.119 Chromium: 114.0.5735.90 (Official Build) (64-bit)
## Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields?
No
- Does the issue resolve itself when disabling Brave Rewards?
No
- Is the issue reproducible on the latest version of Chrome?
Only is an issue on the latest Brave not Chromium (Google Chrome, etc works normally)
The only workaround for now, until they fix the defect in the Brave Browser, is to disable and re-enable the extension after restarting the browser using brave://extensions or to use a different browser like Chrome or Edge.
2 Likes