JavaScript Enabling in Browsers

    We can run the JavaScript, in our web-browser. But how the browser or any other platform executes the JavaScript code? Every web browser contain a JavaScript Engine that parses, compiles, and executes the JavaScript code, Chrome has V8 engine, Firefox has SpiderMonkey, similarly, all the browser has a built-in JavaScript code. If we define a browser we can say that a browser is a tool to execute front-end languages such as HTML, XML, JavaScript, and CSS.

    Enabling JavaScript in Web-Browser

    By default, all the modern web-browsers can parse, compile and execute JavaScript code, but we can enable and disable this feature of a web browser. By disabling the JavaScript in the browser, the browser would no longer execute the JavaScript code. We do not recommend you disable the JavaScript of your browser, but in case if you need to this is how would you do that.

    Enabling/Disabling  JavaScript in Internet Explorer

    1. Click on the Tool option (ALT+X)
    2. Select Internet Options
    3. Click on the Security tab.
    4. Click on the Custom Level button
    5. Search for the Scripting option by scrolling down.
    6. Now click on the Enable or Disable radio button under Active Scripting.
    7. To finalize click on the OK button.

    Enabling/Disabling  JavaScript in Firefox

    1. Type and search about:config in the URL bar.
    2. Click on the "Accept the Risk and Continue Button".
    3. Search for the javascript.enabled option in the preference search bar.
    4. Toggle the option to true or false to enable or disable JavaScript in firefox.

    Enabling/Disabling  JavaScript in Chrome

    1. Click on the Hamberg symbol present at the top right corner.
    2. Click on the Settings button.
    3. Click on Site Setting under Privacy and security
    4. Scroll down and click on the JavaScript button under Content.
    5. Now you can click on the slider to enable and disable JavaScript.

    you can also skip all the steps and search for chrome://settings/content/javascript in your chrome URLs bar.

    Enabling/Disabling  JavaScript in Opera Browser

    1. Click on the Settings icon or type opera://settings in the URL bar.
    2. Scroll down and click on the Site Settings option under Privacy and security
    3. Scroll down and click on the JavaScript button under the Content section.
    4. Now toggle the slidder to enable and disable the JavaScript.

    To directly jump to the JavaScript settings in the Opera browser, type the following URL on the Opera search bar. opera://settings/content/javascript

    Enabling/Disabling  JavaScript in Edge Browser

    1. Click on the menu Hamburger icon at the Top Right Cornor
    2. Click on the Settings button.
    3. Now click on the Cookies and Site permissions button from the menu.
    4. Scroll down and look for the JavaScript button and click on it.
    5. Toggle the slider to enable and disable the JavaScript.

    To directly visit the JavaScript setting in Edge type the following URL on the Edge search bar. edge://settings/content/javascript

    Summary

    • Every web browser supports a JavaScript Engine.
    • The JavaScript Engine first parses the JavaScript code, then simultaneously compile and execute it.
    • We can enable and disable JavaScript for a Browser.

    People are also reading: