Open the0neWhoKnocks opened 3 years ago
yes, this is the expected behavior. in browser mode you are follow the links you clicked instead of printing them. to change this you must specify --uri-handler command. for example "--uri-handler=echo", or your own command if you need to transform urls before using them
I'm not using the url mechanism because it was too limited, I'm using console.log instead.
To reiterate
is there a way to utilize the file:// protocol and have console.log output to stdout?
Perhaps via a webkit flag? I'm not sure how the log redirection was implemented, but it'd be nice to have that feature parity.
Currently I have
With the above I'm able to send my output via
console.log
.I wanted to separate some logic so I added the below in my GUI html file.
but the file doesn't load.
So I then added
and the code in the external
test.js
now executes, but now myconsole.log
s no longer fire.Is this expected behavior? If so, is there a way to utilize the
file://
protocol and haveconsole.log
output tostdout
?