Jump to content
Sign in to follow this  
swift.man

.js in cmd

Recommended Posts

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 built 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).

http://phantomjs.org/api/command-line.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...