Enable JavaScript in Chrome

Updated at: Mar 24, 2022

This guide will step you through the process of getting JavaScript enabled in Google Chrome.

  1. Click the Chrome menu button

    Click the button that looks like three little black dots on top of each other in the top right corner of the Chrome window.

    The location of the Customize and Control menu button

    Chrome's menu will be displayed when you click the "three dots" button.

  2. Click the "Settings" menu item

    When you clicked the Chrome Menu button you will see a menu with a number of options in it; click on the Settings item.

    The Settings option in the main Chrome menu

  3. Search for the JavaScript settings

    When you click the Settings menu item, the settings screen for Chrome will load. At the very top is a search box labeled Search settings.

    The search field at the top of the Settings screen.

    Type in the word javascript into the search field (it's not case sensitive). As you start to type you will see Chrome start to change what's shown on the settings page.

    It will reveal the "Site settings" section with the yellow "JavaScript" callout.

  4. Click "Site settings"

    Click Site settings to show Chrome's configuration for the various websites you visit.

    The Site settings option in Chrome's Security section, showing that search results match

  5. Click the JavaScript settings item

    There are lots of settings you can change here; scroll down and find the JavaScript one - it is in the Content sub-section near the bottom.

    Screenshot of the JavaScript item

    When you see the JavaScript section, click on it.

  6. Change the JavaScript setting

    To control the default JavaScript Enabled setting in Chrome, click the Sites can use JavaScript to enable JavaScript (and if you want to disable it, you would click the Don't allow sites to use JavaScript option).

    Screenshot of the JavaScript controls showing that it is disabled, the Enable option is circled in blue.

    This setting takes effect immediately. Having made your choice, you can now reload any tab you have open and JavaScript will start to work in it; or open a new tab and it will run JavaScript code on the websites you visit. You can now simply close this Settings tab and resume your normal web browsing with your new setting.

    Congratulations, you just enabled JavaScript. Click here to confirm that JavaScript is now enabled.

  7. Use or block JavaScript only on certain websites

    The global JavaScript setting (discussed in the previous step) can be a bit too heavy-handed for some users: it's more common to want to allow JavaScript on some sites and disable it on others; so the section on this screen below lets you fine-tune your JavaScript settings.

    In the Customized behaviours section, you can specify websites that are always allowed to use JavaScript, or which can never use JavaScript.

    Customize Chrome's JavaScript behaviour on certain websites.

    So if you preferred to normally allow JavaScript but want to block it on certain websites - you would set the global setting to Allow but then add the sites you want to block JavaScript on in the Not allowed to use JavaScript section here, or vice-versa as the case may be.

    Once you have finished here, you can just close the Settings tab and continue browsing.

More guides and help for Chrome

Need more help with Chrome? Read our other Chrome guides.

Frequently asked questions about enabling Javascript