Disable JavaScript

Kayce Basques
Kayce Basques
Sofia Emelianova
Sofia Emelianova

To see how a web page looks and behaves when JavaScript is disabled:

  1. Open Chrome DevTools.
  2. Depending on your operating system, press one of the following:

    • On Window or Linux,Control+Shift+P
    • On MacOS,Command+Shift+P

    The Command Menu.

    TheCommand Menu opens.

  3. Start typingjavascript, selectDisable JavaScript, and then press Enter to run thecommand. JavaScript is now disabled.

    Selecting 'Disable JavaScript' in the Command Menu.

To remind you that JavaScript is disabled, Chrome shows the correspondingDisabled JavaScript. icon in the address bar and DevTools shows a warningWarning. icon next toSources.

An icon in the address bar and a warning icon next to Sources in DevTools.

JavaScript will remain disabled in this tab so long as you have DevTools open.

You may want to reload the page to see if and how the page depends on JavaScript while loading.

Alternatively, you can disable JavaScript inSettings.Settings.

To re-enable #"footer">

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2019-01-31 UTC.