JavaScript is a object-oriented scripting language that often produces captivating effects on webpages. However, if you need to enable or disable JavaScript, this article will instruct you on how to do so.

How to Turn On and Off JavaScript in Firefox and Chrome Browsers
1. For Firefox Browser
Step 1: Type the following command on the address bar: 'about:config' then click on the button I'll be careful. I promise

Step 2: Enter the command javascript.enabled into the search bar, then right-click on javascript.enabled and choose Toggle to change the value (value= true means JavaScript is enabled otherwise it's disabled) as shown in the image:

2. For Chrome browser
Step 1: Click on Customize and control Google Chrome, then select Settings

Step 2: In the settings window, choose Advanced options

Step 3: Under security, select Content settings

Step 4: In the JavaScript section, if you want to enable JavaScript, select Allow all websites to run JavaScript, or if you want to disable JavaScript, choose the option to not allow any website to run JavaScript.
