Re: JS script from the command line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
Splentity
https://splentity.com/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux