The Wayback Machine - https://web.archive.org/web/20240707050909/https://www.geeksforgeeks.org/disable-javascript-in-microsoft-edge-browser/
Open In App

Disable JavaScript in Microsoft Edge Browser

Last Updated : 13 Sep, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

There can be various reason to disable JavaScript in Edge browser. It may be for testing purpose to check how the website renders without JavaScript or to improve personal experience.

There are two ways to disable JavaScript in Edge:

  1. Using Site Permission in Setting page
  2. Using Command Menu in Developer tools

1. Using Site Permission in Setting page:

In this method JavaScript can be permanently disabled in Edge and can only be enabled back by the user.

To get to the JavaScript Setting, click three dots in the top-right corner of Edge Browser or press “Alt+F” and navigate to Settings > Cookies and Site Permission and then under all permissions section select JavaScript. You can also reach the page by searching edge://settings/content/javascript in the search box.

Now in the page that appears you can block JavaScript for all pages by pressing the allowed button. If you want you can manually add URL of sites that you specifically want to block or allow JavaScript.

To enable JavaScript you can follow the same steps to reach the page and then press the Allowed Button.

using-settings-menu-resized

Using Site permission in Setting Page

2. Using Command Menu in Developer tools

This is a temporary method of disabling JavaScript for the page and is frequently used by developer for testing the page behavior in the absence of JavaScript.

First right Click in the page and click Inspect or you can just press the shortcut keys “Ctrl+Shift+I” or “F12”. A section will appear containing various developer tools.

Now press the shortcut key “Ctrl+Shift+P” to access the Run Command or click the three dots present in the top right corner of the developer tools section and then click Run command from the menu that appears.

After pressing Run Command a search menu appears. Here you just type disable and you will notice Disable JavaScript option appearing at the top instantly. Click it to disable JavaScript for only the current page or tab.

To enable JavaScript just refresh the page or search Enable JavaScript in the Run Command search menu.

using-dev-tools-resized-2

Using Command Menu in Developer Tools


Previous Article
Next Article

Similar Reads

How to enable or disable Sleeping Tabs in Microsoft Edge Browser?
Have you heard of sleeping tabs in Microsoft Edge? Wondering what sleeping tabs are? Modern-day browsers enable us to multitask easily by opening several tabs. Each tab has its own memory and CPU requirements. When you open multiple tabs, the memory consumed by each tab adds up and if your system does not have adequate memory, then your system will
4 min read
How to enable or disable picture-in-picture mode in Microsoft Edge Browser ?
Microsoft Edge is the pre-installed web browser in the Windows operating system. Also, it is the third most popular browser in the world. Picture-in-picture mode is a good feature that is built into Microsoft Edge. If you are looking for ways to enable or disable picture-in-picture mode or if you are searching for what is picture-in-picture mode, t
4 min read
How to enable or disable Do Not Track in Microsoft Edge Browser ?
Microsoft Edge is a web browser by Microsoft. Edge provides various features that ensure the privacy of the users and Do Not Track is one such feature that we have in Edge which helps to provide a certain degree of privacy to us. It is also sometimes referred to as the DNT feature. Table of Content Do Not Track feature Steps to Enable DO NOT TRACK
6 min read
Opera Browser Vs Microsoft Edge Browser
Choosing the right web browser is crucial for a seamless online experience. Opera and Microsoft Edge are two popular choices, each offering unique features and functionalities. This article provides an in-depth comparison of Opera and Microsoft Edge, covering various aspects such as performance, features, security, privacy, user interface, and comp
5 min read
Debugging JavaScript in Microsoft Edge Browser
While working with JavaScript, we often encounter several errors but finding them out is truly an arduous task. So, in this article, we will learn how to debug JavaScript in Microsoft Edge. Steps to debug the JavaScript in Microsoft EdgeFinding the bugBeing familiar with sources tool UIUse a breakpoint to pause the codeSetting a line-of-code breakp
6 min read
Running JavaScript in Console in Microsoft Edge Browser
JavaScript is an important programming language that is mainly developed for web use cases and it plays a vital role in improving the responsiveness and usefulness of websites. On the other hand, Microsoft Edge is a web browser that offers a built-in JavaScript engine for development. So here, we'll understand the features, benefits, and steps to r
3 min read
How to enable or disable password generator in Microsoft Edge?
Microsoft Edge is the new modern-age web browser from Microsoft Corporation which comes as a replacement for Internet Explorer. In its earlier stages, it was only available for Windows, but later Microsoft released the Edge browser for other platforms as well. And now it is available in Windows, Linux, Mac OS, Android, and IOS. Currently, it is the
4 min read
How to enable or disable tracking prevention in Microsoft Edge ?
In the current online world, web security is an increasing concern over time. And Microsoft Edge has a lot of security features built-in to protect its users over the web. One such security feature is tracking prevention. Tracking prevention helps to reduce data collected from users while browsing. This article discusses what is tracking prevention
5 min read
How to enable or disable SmartScreen filter in Microsoft Edge ?
SmartScreen is a security feature built into Microsoft Edge and Internet Explorer that helps protect users from malicious websites and downloads. It does this by checking websites and downloads against a list of known threats. If SmartScreen finds a match, it will warn the user and block the website or download. Types of SmartScreen There are two t
2 min read
How to Enable or Disable Focus Mode in Microsoft Edge?
Where knowledge is known to be a most demanding aspect to start, Readers are the ones who have most of the knowledge as they have been through the delicacies of words which improve their cognitive thinking and vocabulary as well. This reader accesses there most of the reading content through the web, and it has been annoyingly eye-straining to them
4 min read