Drublic
Drublic

Reputation: 709

Javascript in browser, print data to file

Im running a javascript trading application in my browser, provided by my bank. The application gives me realtime data on stock quotes etc. Is there anyway i can get the browser to make the data available outside the browser, like writing the info to a file every ten seconds? Im using firefox.

Upvotes: 1

Views: 290

Answers (3)

Jakob
Jakob

Reputation: 24360

There is a straight-forward approach, that requires a server (even if it's a very dumb one): You could post the data to the server and have it respond with a file containing the posted data (no more, no less) that the user is prompted to save.

Upvotes: 0

enthusiastic
enthusiastic

Reputation: 742

there is a way save the web pages. hope it will help you. The add on is available to save web pages in mozilla. see https://addons.mozilla.org/en-US/firefox/addon/auto-save-document/

Upvotes: 0

Christian Kuetbach
Christian Kuetbach

Reputation: 16060

No, the Javascript is running in a sandbox. You can write it into a html5 database build in with your browser.

May be, the application is using a SOAP-Service, which you can use directly.

Upvotes: 1

Related Questions