When trying to use the localStorage feature of HTML5 with Brave, it fails to function properly, resulting in error message “Uncaught DOMException: Failed to read the ‘localStorage’ property from ‘Window’: Access is denied for this document.”
The same code runs without issue on Firefox, Chrome, Opera and Safari, but fails on Brave.
Is there some setting I need to change?
In case it matters, the file is run locally, on user’s desktop, hence is accessed via file:///C:/maintenance/sub4/rackstatus.html
Any help/advice greatly appreciated.