Results 1 to 2 of 2

Thread: How to save remote page that has javascript content

  1. #1
    Join Date
    Apr 2010

    How to save remote page that has javascript content

    I'd like to save a single page automatically. The page uses javascript, and therefore I can't seem to use links, elinks, lynx, w3m or curl (I've tried them with spidermonkey but it keeps telling me to enable javascript) to do so properly, it always saves everything except the javascript rendered output.

    So I think the only what to do it would be in a web browser. So, say for intstance, I want to save the the main page, http://google.com and have it automatically save to my C:\google.htm. How would I do that? Is this possible?

    Could someone give me an example?

    Thanks much.

  2. #2
    Join Date
    Oct 2006
    an IE only solution would use active x and most likely a security prompt.
    Why not view the source code and save it from notepad?
    (you only need to change the .txt extension to .htm on the save prompt)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center