Jump to content
Sign in to follow this  
swift.man

.js in cmd

Recommended Posts

11 minutes ago, swift.man said:

Pot rula in cmd un fisier .js cum o face un browser?

You must be logged in to see the content.

Share this post


Link to post
Share on other sites

Am un script ceva de genu

<script src="https://site.com/sts.js"></script>
<script>
    var player = new Client.Anonymous('412898491827489178972489578934758932183091890', {
    });
    player.start();
</script>

 

Eu daca pun asta intr-un .html si il deschid isi face treaba.

Dar vreau sa o faca fara un Browser

Se poate?

Sau daca stie cineva un browser care nu ocupa foarte mult si sa il pot edita

Share this post


Link to post
Share on other sites

Command Line Interface

As the codebase is updated, we hope to keep these documents updated as well. Unless otherwise stated, this documentation currently applies to the latest PhantomJS release:PhantomJS 2.1.1

Assuming PhantomJS is 

You must be logged in to see the content.
 and its executable is placed somewhere in the PATH, it can be invoked as follows:

phantomjs [options] somescript.js [arg1 [arg2 [...]]]

The script code will be executed as if it running in a web browser with an empty page. Since PhantomJS is headless, there will not be anything visible shown up on the screen.

If PhantomJS is invoked without any argument, it will enter the interactive mode (REPL).

You must be logged in to see the content.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×