How to to dump JS array... (boommarklet?)

Posted by Soulhuntre on Stack Overflow See other posts from Stack Overflow or by Soulhuntre
Published on 2009-10-05T06:21:40Z Indexed on 2010/03/31 4:03 UTC
Read the original article Hit count: 176

Filed under:
|

A page on a site I use is holding some of my data hostage. Once I have logged into the site and navigated to the right page, the data I need is in the array eeData[] - it is 720 elements long (once every 2 minutes of a given day).

Rather than simulate the requests to the underlying stuff json supplier and since its only once a day, I am happy to simply develop a bookmarklet to grab the data - preferably as a XML or CSV file.

Any pointers to sample code or hints would help.

I found a bookmarklet here that is based on this script that does part of this - but I am not up to speed on any potential JS file IO to see if it is possible to induce a file "download" of the data, or pop it opn in a new window I can copy / paste.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about bookmarklet