Disable JavaScript with Microsoft Edge DevTools

To review how your webpage renders when a browser doesn't have JavaScript support, temporarily turn off JavaScript.

Complete the following actions to examine how a webpage displays and behaves when you turn off JavaScript.

  1. Open Microsoft Edge DevTools.

  2. Select Control+Shift+P (Windows, Linux) or Command+Shift+P (macOS) to open the Command Menu.

    The Command Menu

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

    Choose 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

JavaScript remains disabled in the tab for as long as you have DevTools open.

You may want to refresh the page to review if and how the webpage depends on JavaScript while loading.

To re-enable JavaScript, complete the following actions.

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

Getting in touch with the Microsoft Edge DevTools team

Use the following options to discuss the new features and changes in the post, or anything else related to DevTools.

  • Send your feedback using the Send Feedback icon or select Alt+Shift+I (Windows, Linux) or Option+Shift+I (macOS) in DevTools.
  • Tweet at @EdgeDevTools.
  • Submit a suggestion to The Web We Want.
  • To file bugs about this article, use the following Feedback section.

The Send Feedback icon in the Microsoft Edge DevTools


Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License.
The original page is found here and is authored by Kayce Basques (Technical Writer, Chrome DevTools & Lighthouse).

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.