Published on Thursday, January 31, 2019 To see how a web page looks and behaves when JavaScript is disabled: Open Chrome DevTools. Press Control+Shift+P or Command+Shift+P [Mac] to open the Command Menu. Figure 1. The Command Menu Start typing Figure 2. Selecting Disable JavaScript in the Command Menujavascript
, select Disable JavaScript, and then press Enter to run the command. JavaScript is now disabled.
The yellow warning icon next to Sources reminds you that JavaScript is disabled.
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.
Last updated: Thursday, January 31, 2019 • Improve article