On Tuesday, February 12, 2019 11:04:13 PM EST ToddAndMargo via users wrote:
On 2/12/19 8:00 PM, John Harris wrote:
> On Tuesday, February 12, 2019 10:13:55 PM EST ToddAndMargo via users
> wrote:
>> Hi All,
>>
>>
>>
>> Any of you guys know how to read a JS Script from a web
>> site from the command line?
>>
>>
>>
>> Many thanks,
>> -T
>
>
> Well, what do you mean by `read`? Viewing the source in an editor?
I want to see the result of the script from the command line. Right
now all I can do is see the script itself.
If you trust the script, and it's written to function outside of just
browsers, you could use `node` (nodejs). Otherwise, you would need one of the
browser-based JS CLIs, like phantomjs.
--
John M. Harris, Jr. <johnmh(a)splentity.com>
Splentity
https://splentity.com/