General Tutorials

How to Turn Off JavaScript in the Tor Browser: A Step-by-Step Guide

JAVASCRIPT disabled on Tor
Rate our article

When using the Tor Browser, ensuring privacy and security is very important. Therefore, you should keep an eye on JavaScript, which poses risks to user anonymity and data security. Disabling JavaScript in the Tor Browser enhances privacy by reducing tracking and minimizing potential vulnerabilities. 

However, disabling JavaScript might impact the function of certain websites. Nonetheless, this trade-off between functionality and increased security is a choice individuals can make to prioritize their privacy and protection while using the Tor Browser.

Quick Answer: Settings > Privacy and Security > Security, then select “Safest.”

What is Tor?

Whether you’re new or old to the Darknet, you already know What Tor is.

The Onion Router (Tor) is a free, open-source software project that protects internet users’ privacy and anonymity. It does this through a decentralized network of volunteer-operated computers called “Tor relays.” These relays encrypt network communication and pass it across many servers, making data sources and user identification difficult. The Tor Browser is based on Firefox’s interface.

Tor hides IP addresses to protect user privacy. It encrypts and redirects internet traffic through a chain of relays that only know about each other. Tor keeps users’ internet activity anonymous. It stops websites and ISPs from tracking users’ browsing behavior and personal data.

Tor uses “onion routing,” where each relay decrypts the next hop’s instructions. This multi-layered method secures data transfer. In addition, Tor supports “hidden services” or “onion services,” websites or services only available through Tor. Tor’s anonymity capabilities hide servers’ identities and locations, allowing users to access them anonymously. 

It is used to avoid censorship and access prohibited information in countries with rigorous monitoring. It allows uncensored communication and information access. Tor Browser, a modified version of Mozilla Firefox, integrates with the Tor network. Tor Browser streamlines Tor network connection and adds privacy and security features.

If you’re looking to access any darkweb websites or darknet markets. You need to Tor Browser, but if you’re on pages as such, you want to ensure as little data on your side is given to them as possible. One of the steps you will take is turning off Javascript.

Why Should You Turn Off JavaScript in the Tor Browser

Disabling JavaScript in the Tor Browser provides several advantages for users. By turning off JavaScript, individuals can enjoy enhanced privacy as it reduces the ability of websites to track their online activities and collect personal information. It also offers protection against potential exploits and malicious code execution that can compromise security.

Furthermore, disabling JavaScript helps mitigate the risks associated with malware and intrusive advertisements. For example, it minimizes browser fingerprinting, making it more difficult for trackers to identify and monitor users. 

There isn’t much evidence to say Darknet Markets have attempted to collect this sort of information from its users. But the minute you enter a malicious website, or honey pot… your fingerprints are in the wrong place.

Additionally, JavaScript-based attacks such as XSS and CSRF can be prevented by disabling JavaScript. However, it’s important to note that disabling JavaScript may impact website functionality, as some features rely on it. Therefore, deciding to disable JavaScript in the Tor Browser depends on balancing privacy and security concerns and the functionality required for browsing needs. Basically, it’s OpSec 101

How to Turn Off JavaScript in the Tor Browser

JAVASCRIPT disabled on Tor 1

Now that you know why you should consider turning JavaScript on your Tor browser, let’s look at how. To Turn off JavaScript in the Tor Browser, you can follow these steps:

  1. Launching the Tor Browser

To turn off JavaScript, you must first open your Tor browser. To unlock your Tor browser in Windows, Double-click the Tor Browser shortcut on your desktop or go to the location where you installed the Tor Browser and double-click the “Start Tor Browser” executable. To open it on Mac OS, Open the Tor Browser application by clicking on it in the Applications folder or using Spotlight search. Finally, to open the Tor browser on Linux, Navigate to the directory where you installed the Tor Browser and run the “start-tor-browser” script.

  1. Accessing Tor Browser Preferences

Once the browser is open, you need to access its preferences. Look for a three-line menu icon (☰) in the browser window’s top-right corner. Click on the menu icon to open a drop-down menu. Select “Preferences” from the menu to access the Tor Browser settings.

  1. Disabling JavaScript

In the Tor Browser preferences, you will see different tabs. Click on the “Privacy & Security” tab. Scroll down to the “Security” section. Look for the “Safest” button and click on it. This will deactivate JavaScript.

  1. Testing JavaScript Status

To test if JavaScript is successfully disabled, visit a website known to use JavaScript. Check for any usual behavior that would happen while JavaScript is Active. If it doesn’t happen, then you have successfully disabled JavaScript.

Re-enabling JavaScript

If you wish to re-enable JavaScript, you must backtrack the steps you took to disable it. Open the Tor browser, go to preference>privacy & security, look for the safer or safest button selected, and change it to standard. A dialogue box might appear, which could ask you to enable JavaScript. If so, then click on “Enable JavaScript.” After re-enabling JavaScript, you can test its status by visiting a JavaScript website and verifying the interactive features function correctly.


Is turning off JavaScript the only security measure I should take in the Tor Browser?

Disabling JavaScript is one security measure, but there are other steps you can take to enhance your privacy and security in the Tor Browser. These include using HTTPS connections, regularly updating the Tor Browser, and being cautious while downloading or interacting with unknown content.

Will disabling JavaScript affect the functionality of websites?

Yes, disabling JavaScript may affect the functionality of some websites. Many websites use JavaScript for various features, such as interactive elements and dynamic content. By disabling JavaScript, some website functions may not work as intended.

Does disabling JavaScript makes me utterly anonymous in the Tor Browser?

While disabling JavaScript can enhance privacy and security, it’s essential to understand that it is not the sole factor determining anonymity. For example, the Tor Browser uses other mechanisms to protect your identity, such as routing traffic through the Tor network and blocking specific tracking techniques.