How to get input from Chrome's Javascript console?

前端 未结 6 788
情话喂你
情话喂你 2020-12-29 06:21

Is there a way to programmatically get input from the Javascript Console of Google Chrome, similar to readline() in Firefox?

6条回答
  •  忘掉有多难
    2020-12-29 07:27

    You might need to incorporate jsh (Javascript Shell) in your environment if you are working with console IO. See http://code.google.com/p/jsh/ for the how-to. Hope this helps.

提交回复
热议问题