How do you disable JavaScript in Tor?
Short answer: click the shield icon next to the address bar, open the security settings and choose Safest. You can also go to Menu ≡ > Settings > Privacy & Security > Security Level. At Safest, Tor Browser blocks JavaScript on every website. If you only want to block it on sites without HTTPS, choose Safer.
Shield icon (or ≡ > Settings > Privacy & Security)
> Security Level
> Safest → JavaScript off on all sitesReload the tabs you already had open so the new level applies to them. If Tor Browser asks you to restart, accept.
Standard runs everything, Safer turns JavaScript off on sites without HTTPS and Safest turns it off on every site.
The three security levels in Tor Browser
| Level | JavaScript | Other changes |
|---|---|---|
| Standard | On everywhere | All browser and website features are enabled |
| Safer | Off on sites without HTTPS | Some fonts and math symbols are disabled; audio and video are click-to-play |
| Safest | Off on all sites | Some fonts, icons and images are limited; audio and video are click-to-play |
The level applies to the whole browser, not to one tab. Tor Browser starts at Standard, so JavaScript is on until you change it.
Disable JavaScript step by step on desktop
These steps work on Windows, macOS and Linux:
- Open Tor Browser and connect to the Tor network.
- Click the shield icon to the right of the address bar. If you don't see it, open the menu ≡ > Settings.
- Go to Privacy & Security and scroll to Security Level.
- Select Safest to block JavaScript on every site, or Safer to block it only on sites without HTTPS.
- Reload your open tabs, and restart Tor Browser if it asks you to.
To check that it worked, open a site that needs JavaScript, such as a web app or a page with an interactive map. You should see a blank area or a message like Please enable JavaScript to continue.
