Disable JavaScript With Chrome DevTools

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

  1. Open Chrome DevTools.
  2. Press Control+Shift+P or Command+Shift+P (Mac) to open the Command Menu.

    The Command Menu.
    Figure 1. The Command Menu

  3. Start typing javascript, select Disable JavaScript, and then press Enter to run the command. JavaScript is now disabled.

    Selecting 'Disable JavaScript' in the Command Menu.
    Figure 2. Selecting Disable JavaScript in the Command Menu

    The yellow warning icon next to Sources reminds you that JavaScript is disabled.

    The warning icon next to Sources.
    Figure 3. The warning icon next to Sources

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.

To re-enable JavaScript:

  • Open the Command Menu again and run the Enable JavaScript command.
  • Close DevTools.

Feedback

Was this page helpful?
Yes
What was the best thing about this page?
It helped me complete my goal(s)
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It had the information I needed
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It had accurate information
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It was easy to read
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
Something else
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
No
What was the worst thing about this page?
It didn't help me complete my goal(s)
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It was missing information I needed
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It had inaccurate information
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It was hard to read
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
Something else
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.