I’m currently testing (I previously had noscript on Chrome) how “block scripts” behaves in Brave.
By default, I have JavaScript blocked. Now I open a website, e.g. https://steamcommunity.com/. I unblock some scripts (not all). The page reloads and everything works as it should.
But when I visit the site again later, ALL JavaScripts are blocked again. The scripts that I had previously enabled have to be re-enabled. The only option is to allow JavaScript for the whole website.
In your 2nd paragraph, “I unblock some scripts (not all)” ← exactly, how(?) do you do that, step by step ← please spell that all out (and in your detailed description, avoiding non-specific words such as “it”).
In your 3rd paragraph, “when I visit the site again later” ← exactly, what(?) did you do during the interim period. (Did you close the Brave Browser window? Did you close the Brave Browser tab? Did you quit Brave Browser? Did you restart the computer?)
Are there any extensions that you have added to Brave Browser? Are any of those extensions, for anti-virus, and/or ad-block purposes?
Reload the https://community.brave.com/ . . . window.
Click on the Site-Specific Brave Shields (the Lion) icon to the right, of the right end, of the URL address field.
In the resulting pop-down menu, you should see that the Site-Specific Brave Shields setting for JavaScript, is also ENABLED (Block scripts is DISABLED):
Thank you for the detailed answer, and yes, that would be an option. But it’s too complicated for my daily work. I will continue to use the workaround with “noscript”. It’s better suited to my way of working.
The issue that you opened above, might have some conflict with an issue that you opened a little while ago:
Because, Brave is un-decided about what settings, and Shields settings, shall persist for:
New Window
New Private Window
Private Browsing
There are Private JavaScript settings and Non-Private JavaScript settings.
Other than for testing (trying to help people, here at the Brave Community), I always use Private Windows, Private Browsing.
Regardless of my having a New Window open or a New Private Window open . . . or both . . . I need the JavaScript settings, the Brave Shields settings, the Site-Specific Brave Shields settings, to all persist.
I use the following type listings, because Brave Shields has inconsistencies, bugs, and failures to persist:
[*.]cloudflare.com
[*.]cloudflareinsights.com
[*.]google.com
[*.]googleapis.com
[*.]gstatic.com
I expect those to work. And, by the way, sometimes they do solve problems for people who “cannot get YouTube to work properly.” Sometimes they do help people to “not get logged out.”
I need Custom Filters (my meager, but many, custom made AdBlock filters that I create to hide / block webpage elements) to persist.
I think that the first step to take here would be for this to work simply in standard browsing, which is what the issue is referring to. How those preferences are passed to private browsing sessions can be determined once the default behavior works as one would expect it to.