How to Disable JavaScript in Google Chrome GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Internet, Networking, & Security > Browsers 62 62 people found this article helpful
How to Disable JavaScript in Google Chrome
The popular programming language can be a security risk
By Scott Orgera Scott Orgera Writer Scott Orgera is a former Lifewire writer covering tech since 2007. He has 25+ years' experience as a programmer and QA leader, and holds several Microsoft certifications including MCSE, MCP+I, and MOUS. He is also A+ certified. lifewire's editorial guidelines Updated on June 15, 2022 Tweet Share Email Tweet Share Email Browsers Chrome Safari Firefox Microsoft What to Know
Go to Menu > Settings > Privacy & security > Site Settings > Content > JavaScript. Toggle off JavaScript in Chrome. For specific pages: In Chrome's JavaScript settings, in the Block section, select Add to specify a URL in which to block JavaScript.In the Allow section, select Add to specify a URL where you want to allow JavaScript. (Do this when JavaScript is disabled.) This article explains how to disable JavaScript in the Google Chrome web browser if you want to block ads on the pages you visit, fix technical issues, or if you have security concerns.
How to Disable JavaScript in Chrome
Follow these steps to disable JavaScript in the Google Chrome browser: Open the Chrome browser and select the main menu button, which appears as three vertically-aligned dots located in the upper-right corner of the browser window. Select Settings. The Chrome settings display in a new tab or window, depending on your configuration. Under the Privacy and security section, select Site Settings. Under Content, select JavaScript. Turn off the toggle switch disable JavaScript in Chrome. Lifewire also has guides on how to disable JavaScript in Firefox and Safari. How to Enable or Disable JavaScript Only on Specific Pages
Blocking JavaScript can disable functionality on websites, and may make some websites unusable. Blocking it in Chrome isn't an all-or-nothing setting, though. You can choose to block specific sites, or, if you block all JavaScript, set exceptions for specific websites you define. You can find these settings in the JavaScript section of the Chrome settings. Beneath the switch to disable all JavaScript are two sections, Block and Allow. In the Block section, select Add to specify the URL for the page or site you want to disable JavaScript. Use the Block section when the JavaScript switch is set to enabled (see above).In the Allow section, select Add to specify the URL of a page or site on which you want to allow JavaScript to run. Use this when the toggle switch is off to disable all JavaScript. On older versions of Chrome, the JavaScript section has a Manage exceptions button, which allows you to override the radio button settings for specific user-defined domains or individual pages. Why Disable JavaScript
There are several reasons why you may want to disable JavaScript code from running in a browser. The biggest reason is for security. JavaScript can present a security risk because it's code a computer executes. This process can be compromised and used as a means to infect a computer. You may also want to disable JavaScript because it's malfunctioning on a site and causing problems with the browser. Malfunctioning JavaScript could prevent a page from loading or cause the browser to crash. Disabling JavaScript may allow you to view content on a page, only without the added functionality it usually provides. Finally, if you administer a website, you may need to disable JavaScript to troubleshoot issues. For example, if you use a content management tool like WordPress, JavaScript code or a plug-in using JavaScript might require you to disable it to identify and fix the problem. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire How to Disable JavaScript in Firefox What Is the Google Chrome Browser? How to Speed up a Chromebook How to Disable Extensions and Plug-ins in Google Chrome How to Disable JavaScript in the Opera Web Browser How to Allow Pop-Ups on Your PC Chrome Not Playing Video? How to Fix How to Clear Cookies for a Specific Site How to Disable JavaScript in Internet Explorer 11 How to Turn Off a Pop-Up Blocker on a Mac How to View the HTML Source in Google Chrome How to Block a Website How to Set the Home Page to Your Favorite Website How to Use Google Chrome Commands Allow or Deny Access to Your Physical Location Settings How to Enable and Disable the Chrome PDF Viewer Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies