How can I safe a javascript generated page to an html file from a linux command line?
Sep.29, 2007 in
Other
istrebitjel asked:
Hi,
I have a javascript/ajax page that I’d like to save as the generated html to a file. URL
http://www.neaveru.com/digg/stats/kevinrose/max_comments/0/days/14
Is there a way to do that? I haven’t found any firefox command-line like that.
Thanks!
safe?? save! 😉
sorry, I want to run this in a cron… so I can’t click 😉
Custom Search
October 1st, 2007 at 10:26 am
Firefox has a great add-on called the Web Developer toolbar. It has a ‘View Generated Source’ button to view the source of the exact page you are looking at. You can copy and paste it from there.
October 1st, 2007 at 3:24 pm
from FF & a cron, no way.
there might be some lynx variant or other ‘get’ tool that does JavaScript.
you could capture the data that the ajax gets, and save that to a file… but not the graph.
is it your site? a little cgi program instead would be able to capture the graph.
I could do it in Safari on a mac with applescript!