JavaScript Allow run too many scripts

I’m getting what appears to be inconsistent results when running scripts. I have Block scripts turned on and when I go to many web site I get a message that JavaScript needs to be turned on (as expected). I clicked on a link to a Microsoft support article, and I couldn’t see the page, so clicked the Shields Up and allowed scripts for support.microsoft.com. There are three other related sites which seem to be blocked (www.microsoft.com, mem.gfx.ms, web.vortex.data.microsoft.com). I’m seeing 21 Blocked scripts. This is the results I expect.

Next, I went into the JavaScript settings and set support.microsoft.com to Allow. Now when I go to the same article, Shields are showing 0 Scripts blocked. It appears the other three sites are now allowed to run scripts, even though they’re not in the JavaScript allow list. I don’t want a site to run scripts unless I explicitly allow it.

Is there are setting to change this behavior, so an explicit allow isn’t inherited by other sites that are called? I’m kind of assuming this is default Chromium behavior, but I’d consider it a security vulnerability.

I’m a new Brave user. I’ve been using FireFox since 1.0, and I’ve been using NoScript, Adblock Plus and HTTPS Everywhere for years. I like the idea of having all this builtin to the browser, but I’m not yet convinced Brave is better than my regular configuration.

@BC2020,
Can you tell me how you changed the JS settings on support.microsoft.com? Did you do so via the Shields panel? Or did you go to brave://settings/content/javascript and add an exception in the Allow section?

I’ve tried both methods. Using the Shields panel gives the only site I want permissions, but I have to change it every time I go to the site. Adding an allow exception to brave://settings/content/javascript gives additional sites permissions to run JavaScript, which is NOT what I want.

I’ve logged a report on https://github.com/brave/brave-browser/issues/8307 I can’t guarantee a fix yet. For the time being just use a proper extension like Noscript

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.