Home > Article > Web Front-end > How to turn off JavaScript code in the browser
With the further development of Internet technology, JavaScript technology is increasingly used in web pages. However, sometimes browser JavaScript will affect the normal display of web pages, and even freeze in some web pages. So sometimes we need to turn off browser JavaScript. So, how to turn off JavaScript in your browser? This article will introduce it to you in detail.
First of all, let’s introduce how to turn off JavaScript in Chrome browser. Open the Chrome browser, click the three dots in the upper right corner of the browser, select "Settings", find the "Privacy and Security" column on the settings page, find "Content Settings" in the column, and click to enter.
On the "Content Settings" page, you can see the settings for various website permissions. Find the "JavaScript" option and click to enter.
On the "JavaScript" page, "Allow all websites to run JavaScript (recommended)" is checked by default in the box, and JavaScript is turned on at this time. To turn off JavaScript, just click the switch in the upper right corner and turn it off.
Next we will introduce how to turn off JavaScript in Firefox browser. Open the Firefox browser, click the three bars in the upper right corner of the browser, select "Options", find the "Privacy and Security" column in the options page, find the "Permissions" area in the column, and click the "Settings" button.
On the "Settings" page, you can see the settings for various website permissions. Find the "JavaScript" option and check the "Disable JavaScript" option.
Finally, we will introduce how to turn off JavaScript in Safari browser. Open the Safari browser, click the "Safari" option in the menu bar at the top of the browser, select "Preferences", find the "Security" tab in the preferences page, find the "Web Content" area in the tab, and click "Manage site settings" button.
On the "Manage Website Settings" page, find the "JavaScript" option and check the "Disable JavaScript" option.
Summary
The above is how to turn off JavaScript in the browser. The specific steps may vary between different browsers. You can make the corresponding settings according to the browser you are using. It should be noted that turning off JavaScript may affect the normal access to some websites, so when we need to turn off JavaScript, we need to consider it carefully before proceeding.
The above is the detailed content of How to turn off JavaScript code in the browser. For more information, please follow other related articles on the PHP Chinese website!