I am working on a project, building a drag and drop website builder contained in a html page.
When I open the page in brave with my normal settings I get a blank page and an error:
LocalStorage.js:55 Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. at r.checkStorageEnvironment (file:///home/$USER/development/portable-grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:205638) at r.load (file:///home/$USER/development/portable-grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:205319) at Object.load (file:///home/$USER/development/portable-grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:209727) at r.getCacheLoad (file:///home/$USER/development/portable-grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:96937) at r.load (file:///home/$USER/development/portable-grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:96546) at r.loadOnStart (file:///home/$USER/development/portable-grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:92300) at Object.init (file:///home/$USER/development/portable- grapesjs/node_modules/grapesjs/dist/grapes.min.js:12:105408) at file:///home/$USER/development/portable-grapesjs/index.html:37:clock1030:
when I disable “Block cross-site trackers” and allow cross site cookies it works as expected.
I want to set my shield settings for that project as mentioned above so that it runs properly but not for all site.
The shield icon doesn’t work (It says in other tutorial to go to a site and use the lion icon to change per-site shield setting) but when working on local site the lion icon isn’t working.
My files open properly in google and firefo. The issue seem to be specific to brave browser.
Steps to Reproduce (add as many as necessary):
- Open a local file in brave
- try to click on the shield lion icon
- nothing happens.
(for the local storage issue)
- Create a html projects that require localstorage acces
- launch it in brave
- check console
Actual Result (gifs and screenshots are welcome!):
Operating System and Brave Version(See the
About Brave page in the main menu):
brave browser iinfos:
It would be great to be able to manage the brave shield and other settings when working with local files.