0

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?

TIA

2

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.