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 ...
- can use the Tor network to connect to the internet
- can execute JavaScript to load additional content via AJAX or similar techniques
- runs on a linux server that has no graphical user interface
- offers an API that can be controlled by a Perl script or any other
?