turn off javascript tor
Code snippet for how to how to turn off javascript tor with sample and detail explanation
While surfing the web with Tor, there might be times when you want to turn off JavaScript to enhance your browsing security. This concise article will walk you through the process step by step.
Turning off JavaScript in Tor
- Open your Tor browser and click on the hamburger menu (the three parallel horizontal lines) found at the top right corner.
- Scroll down to
Options
. - A new window will open. On the left side, you will see a panel. Click on
Privacy & Security
. - Once you’re in the
Privacy & Security
settings, scroll down until you reach theJavaScript
section. - Here, select
Do not allow any site to run JavaScript
, then clickOK
to confirm your changes.
Code Explanation
- The hamburger menu includes various settings for the Tor browser.
- Clicking on
Options
will open a new tab with browser settings, including privacy options, search settings, and more. - The
Privacy & Security
section includes settings for passwords, cookies, history, and other data. - The
JavaScript
section specifically houses the option to specify how Tor Browser handles JavaScript coding on the websites you visit. - By selecting
Do not allow any site to run JavaScript
, you block all websites you visit from running JavaScript code. ClickingOK
will finalize your settings.
Keep in mind that disabling JavaScript will enhance your security but it may also hamper the functionality of certain websites. Thus, whenever you decide to enable JavaScript again, follow the same process but instead, select Allow all sites to run JavaScript
.