Skip to content

Allow or Block JavaScript in the Brave on a Computer

The JavaScript execution helps make the modern website load smoothly and interactively. However, JS can also be misused for hacking and getting unauthorized access to user information.

The Brave computer browser has the option settings to enable or disable the JavaScript for the website that can control individual sites.

Block JavaScript Settings

JavaScript execution can be harmful when visiting illegal or less secure sites. It acts as the doorway to hackers getting into our computers. Hence, it’s suggested to disable JS on the Brave browser temporarily. Here are the steps to follow:

  1. Launch the Brave app on the computer.
  2. Click on the More horizontal 3-bar icon menu and select the Settings sub-menu from the list.
    Brave browser Settings menu option
  3. Switch to the Privacy and Security tab in the left panel from the browser settings page.
  4. Select the Site and shield settings on the page that appears.
    Sites and shield Settings on Brave Computer browser
  5. Scroll down and click on the JavaScript tab under the Content section.
  6. Under the Default Behavior section,  select the Don’t allow sites to use JavaScript option to block.
    Dont allow sites to use Javascript on Brave computer browser

It will immediately block the JavaScript loading and execution for all the sites on the Brave computer browser. However, keeping this option is not recommended, as most modern sites depend on JS functions.

Allow JavaScript Execution

If the site is not loading correctly or misbehaving, enabling the JS on the browser is good. The JavaScript function helps the websites interact with the browser and generate a fluid and interactive site page, which is impossible without JS being disabled.

  1. Launch the Brave computer browser.
  2. Click on the More horizontal 3-bar icon menu and select the Settings option.
  3. Switch to the Privacy and Security tab on the settings page’s left panel.
  4. Select the Site and shield settings > JavaScript tab.
    JavaScript tab in Brave Privacy and Security Settings page
  5. Select Sites can use the JavaScript radio button.
    Default Behavior JavaScript Allow JS in Brave browser

It will enable JavaScript loading and execution on all the sites. Perhaps, you can also manage the JS for individual sites or block the malicious sites.

Manage JavaScript Exception for the Sites

Besides allowing or blocking the JS execution on the browser for all sites, the Brave browser offers the option to control the JS for individual sites. We can add the site URL to the appropriate section and move between to make the JavaScript execution more secure.

Open the JavaScript settings page in Brave browser. Add the websites that you allow or prohibit from using JavaScript by clicking on the respective Add buttons.

Add Site URL to JavaScript Customize Behavior in Brave Browser

In the menu that appears, enter the URL of the web page and click on Add.

Add Site URL to JavaScript Customize Behavior in Brave Computer

You can also block, edit, and remove the websites added by clicking on the More vertical 3dots icon menu and choosing the appropriate option. It will move the site URL to the appropriate section that allows or blocks JavaScript execution.

Brave JavaScript setting Customize Behavior More menu settings

All the changes that you have made will be applied once you close the tab.

Bottom Line

The JavaScript is used for making the website interactive. It helps in adding modern elements to the website to make it more useful.

The Brave Browser has the option to customize JavaScript execution for all websites or add them to site exceptions on whether to allow or disallow the support.

Apart from JS, it also offers the option to customize cookie settings for individual sites.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza is a Google Certified Analytics & IT Professional, Digital Content Creator, and Go-To Digital Marketer with an Engineering Degree. He has over a decade of experience solving tech problems, troubleshooting, and innovating digital solutions. Follow him on Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *