Programming magic, glory, and juices.

Full website screenshot capturing

June 9th, 2006


I wrote a program that takes full-sized website screenshots. It’s pretty awesome. It is all done programmically through the IWebBrowser2 interface. The program is a command line utility and it was used to create the following image. Enjoy.

Only the website ever.

15 Responses to “Full website screenshot capturing”
  1. Matt
     

    Hey, I think I will use this for the online screencapture utility… yours is better than most out there if not all.

  2. Nathan
     

    Thanks yo.

  3. James Carlos
     

    Hi Nathan,

    Sweet utility. It has some trouble with some sites, but overall really great!

    Thanks!

  4. Maya Cooper
     

    any chance that you will post the source code ?

  5. Nathan
     

    James.. I fixed the issues with the sites you mentioned, you can redownload it now.

    Maya.. No, I will not release or post the source code.

  6. James Carlos
     

    Nathan- great update! It works really well now. I’ll let you know if I run into any other sites.

    Thanks.

  7. Hannes
     

    Best thing about it: It seems to work pretty well with Wine .. :)

  8. Tom
     

    This application is really good but any chance you could get it to ignore script errors? Currently this can happen :

    http://img478.imageshack.us/img478/1650/error6cs.jpg

  9. John
     

    Like Tom said, fixing the script error problem would be nice! Also if the document doesn’t completely load the program just hangs.

    Say some does this, when they know your (ip) is doing screen captures…

    Your program just runs and runs, maybe you could add a configurable time out!

    SendMessageTimeout();

    John

  10. John
     

    I had put some code there, but it got striped…

    John

  11. John
     

    One last thing. I wrote these in my other message but it didnt post, so I hope you don’t mind that I post it again. Some things to add that would be nice.

    1. configurable document complete timeout
    2. configurable Verbose on or off
    3. configurable turn debug logging on or off
    4. check the document title for errors (404, 500, …) before image is made. Using a file of common error string.

    That it, have a great day

    John

  12. Nathan
     

    Please leave the URL of the websites that don’t work.

  13. Tom
     

    These sites that have script errors in ie produce a prompt that you have to click , I want to be able to produce automated screenshots so this problem makes that impossible. The other options that John mentioned especially the timeout would be really good as well!

    http://www-cs-students.stanford.edu/~amitp/gameprog.html
    http://travelingguys.com/

    It doesn’t seem to matter if you turn off script debugging in the IE settings or turn off java.

    Cheers.

  14. Nathan
     

    Yeah I was working on it some more, the version I have, but haven’t released yet stops those errors as well as other popups.

  15. Tom
     

    Excellent, looking forward to the new version!

Leave a Reply