JavaScript allows for greater interaction with web pages in Google Chrome, Firefox, and many other web browsers. However, some people may publish websites that use the scripting language in a malicious and malicious way.
So you may need to disable JavaScript for security and development reasons. Regardless of the reasons, this detailed tutorial explains how to disable JavaScript without using additional extensions and plugins.
For your protection, you can disable or enable JavaScript in Google Chrome and Mozilla Firefox with these simple steps.
Google Chrome
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 bring up the Command Menu.
The command-menu in Chrome DevTools
Start typing the word JavaScript , select “Disable JavaScript”, then press Enter to execute the command. JavaScript is now disabled in Google Chrome.
Disable Javascript in Chrome
The yellow warning icon next to Sources reminds you that JavaScript is disabled.Warning Javascript disabled in Chrome
You may want to reload the page to see if and how the page depends on JavaScript while loading. JavaScript will remain disabled on this tab as long as DevTools is open.
To reactivate JavaScript open the command menu again and execute the “Enable JavaScript” command then close DevTools.
Firefox
Disable Javascript in Firefox
- Open Firefox and type in the address bar: “about: config”. This is the space where you normally see a website URL. Make sure you don’t put spaces before or after the colon.
- A new page will appear saying “This could void the warranty!” Press “I accept the risk!” to see a long list of Firefox preferences.
- Enter “javascript.enabled” in the search box at the top of the page.
- From the search box, you can also check where Firefox stores your downloads, change how Firefox starts, and change some other download-related settings.
- Double-click on this entry so that its “value” changes from True to False (from true to false).
- Android users only need to select the item once and then use the Enable / Disable button to disable JavaScript.
- JavaScript is now disabled in your Firefox browser.
To reactivate it at any time, go back to the “about: config” screen and repeat the action to reset the value to “true”.