if you're a client using a Torbrowser, it's recommended to disable JavaScript.
But if you're a server providing a service - how to disable JavaScript?


1 Answer 1


I'm not sure what exactly you mean here; but if you're trying to run a onion service you don't have to deal with JavaScript at all if you don't want to. Just don't include any JavaScript code on the webpages/services you plan to offer via the onion service.
If you meant how you can disable all web servers from delivering JavaScript to the websites you visit, that is not possible. In that case, you'll have to disable JavaScript on the Tor Browser. You can do so by changing the Security Settings ('Safer' to disable JS for non-https sites and 'Safest' to completely disable JS). Hope that answers your question!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .