News for hackers. Stuff that matters.
Re:Ask HN: How to wget pages with javascript? by dstein on Monday June 20, 2011 @10:22PM (#2677127)
You can write a NodeJS script using the JSDom module to do this.
Re:Ask HN: How to wget pages with javascript? by baconface on Monday June 20, 2011 @11:56PM (#2677363)
Thanks for the suggestion. Any idea how to accomplish this task without using JS?

I'm surprised chromium, konqueror and firefox don't offer this functionality for offline browsing.

Re:Ask HN: How to wget pages with javascript? by dstein on Tuesday June 21, 2011 @12:32AM (#2677437)
Selenium (http://seleniumhq.org/) might work but it's not a simple command line script.
Re:Ask HN: How to wget pages with javascript? by bartonfink on Tuesday June 21, 2011 @10:21AM (#2678836)
Selenium will do this, although it's not pretty. I spent about 4 months on a contract doing exactly that, and it sucked.