++ed by:
FOXCOOL JWANG KEEDI MISHIN PJF

7 PAUSE user(s)
8 non-PAUSE user(s).

Max Maischein

NAME

js-console.pl - send STDIN to the Javascript Console

SYNOPSIS

    echo "Hello World" | js-console.pl

Options: --clear Clear console before sending text --mozrepl connection string to Firefox --close automatically close the tab at the end of input --type TYPE Fix the type to 'html' or 'text'

OPTIONS

--clear

Clear the console before sending the text.

--text TEXT

Send the text TEXT instead of reading from STDIN.

--mozrepl

Connection information for the mozrepl instance to use.

DESCRIPTION

This program sends text read from standard input to the Javascript Console in Firefox. This can be convenient if you want to do testing and log the start or stop of a test run to the console.

SEE ALSO

https://developer.mozilla.org/en/Error_Console

https://developer.mozilla.org/en/nsIConsoleService - the underlying Console Service that also shows how to listen to events getting added.




Hosting generously
sponsored by Bytemark