Subj : Re: Obtaining raw image and HTML from a page? To : netscape.public.mozilla.jseng From : Martin Honnen Date : Fri Aug 08 2003 06:35 pm Laurens wrote: > "Laurens" wrote in message > news:bgu9jp$82i$1@reader10.wxs.nl... > >>Is it possible to obtain the raw image data and HTML from the page > > currently > >>displayed in the browser window through JavaScript? > > > I see now that I did not phrase my question very clearly. With "raw image > data" I mean the GIF/JPEG/PNG data (not the pixel data). There are so called pnglets, a JavaScript API to draw png images http://www.elf.org/pnglets/ I don't think browsers like Mozilla or IE provide an API to read out PNG or GIF data or JPEG data. As for reading the HTML, you can read the document object model of the page. There is a group for that, the dom group, so ask there after you have check dom docs on devedge.netscape.com -- Martin Honnen http://JavaScript.FAQTs.com/ .