Cara menggunakan can tor run javascript?

The popularity of the Tor Browser has risen very rapidly over the last period of time. It was originally developed by the US Naval Research Lab in the mid-1990s to allow government officials to communicate in an anonymous and secure manner.

Nowadays, most people tend to use the Tor Browser because it gives them the freedom to keep their privacy and anonymity on the internet.

What is Tor?

The Tor browser is also known by another name, the Onion router, and is a Flagship/significant product of the Tor project.

A team of developers and some of the Tor Browser volunteers have successfully managed to create a browser by modifying a version of the Mozilla Firefox web browser that allows users to browse the internet anonymously.

It involves a number of volunteer relays where Internet traffic bounces and guarantees that the user is not monitored. Once the user is done with surfing, the Tor Browser itself terminates the session by removing or disabling a range of confidential data such as user history, HTTP cookies, etc.

Tor browser is also very famous for its ability to give its user access to sites of the Deep Web and Dark Web, which users cannot use with common browsers like Firefox, Chrome.

Why is it required to disable JavaScript in the tor browser?

JavaScript is required to be disabled in the Tor browser for many security reasons. In 2013 it was discovered that many earlier versions of the Tor browser are vulnerable to JavaScript attacks as JavaScript provides the attacker/hacker a backdoor that tries to track the user by using their provided session details.

How to turn off JavaScript in the Tor browser?

To disable the JavaScript in the Tor Browser, follow the following steps:

1. Open the tor browser by double-clicking on its icon.

2. Now search for the menu symbol which is located mostly on the top-right side of the browser and click on it as shown below:

Cara menggunakan can tor run javascript?

3. Once the menu gets opened, look for the "Options" in the following options and click on it to open the tor browser preferences.

Cara menggunakan can tor run javascript?

4. When the settings tab gets opened, click on the "Settings and Privacy" option located on the left side and search for the Security option in the given options.

Cara menggunakan can tor run javascript?

5. Now to turn off JavaScript, click on the "Safest" option and close the settings tab.

Cara menggunakan can tor run javascript?

The Tor browser also has an alternative way to disable JavaScript, which is to use the "NoScript" feature of the Tor browser to disable all scripts in the browser.


1

New! Save questions or answers and organize your favorite content.
Learn more.

I want to load html content through the Tor network and execute JavaScript that comes with the loaded content to load additional content through the Tor network via AJAX or similar techniques. But I can't use the Tor browser for this. This must be done automated by a script that runs on a Linux server without any human interaction. There is no GUI (graphical user interface) installed on the computer.

Is there a application that ...

  1. can use the Tor network to connect to the internet
  2. can execute JavaScript to load additional content via AJAX or similar techniques
  3. runs on a linux server that has no graphical user interface
  4. offers an API that can be controlled by a Perl script or any other

?

Roya

3,2463 gold badges16 silver badges38 bronze badges

asked May 29, 2014 at 18:44

Cara menggunakan can tor run javascript?

Any application can connect over Tor if it supports SOCKS, or if it can be properly wrapped using torsocks or usewithtor. Aside from that, it seems like you just need a headless browser or some other Javascript execution environment, of which there are many.

answered Jul 10, 2014 at 20:43

ruiefruief

1213 bronze badges

I found a way to do that on linux:

  • apt-get install tor
  • download Multi-TOR from here: https://github.com/jseidl/Multi-TOR
  • run ./multi-tor.sh 10 for 10 socks ports (for example)
  • You can use selenium or splinter python (for example) and import socks port
  • put the script on a while or for statement as u wish
  • good luck
from pyvirtualdisplay import Display
import stem.process
from stem import Signal
from stem.control import Controller
from splinter import Browser


proxyIP = "127.0.0.1"
proxyPort = 9051

proxy_settings = {"network.proxy.type":1,
    "network.proxy.ssl": proxyIP,
    "network.proxy.ssl_port": proxyPort,
    "network.proxy.socks": proxyIP,
    "network.proxy.socks_port": proxyPort,
    "network.proxy.socks_remote_dns": True,
    "network.proxy.ftp": proxyIP,
    "network.proxy.ftp_port": proxyPort
}

display = Display(visible=0, size=(800, 600))
display.start()

browser = Browser('firefox', profile_preferences=proxy_settings)
browser.visit("http://yourpage url here")
browser.quit()

display.stop()

answered Sep 2, 2017 at 13:41