On Jul 30, 4:45 pm, Havvy <[email protected]> wrote:
> Thanks, Babele.
> I haven't studied on the part you mentioned before.
> Can you send me a snippet of code?

no. that code is spread across dozen of classes. basically I have some
stuff based on Cairo to get the pixels, because I developed it before
the Gecko Offsceen Library was ready, and a recursive DOM parser which
searches the DOM for various tags and stuff once the page is
completely loaded.

> BTW, I planed to make a screen capture by GTK instead write pixels. Because
> the concern on performance, I have to capture the screen of pages with
> plug-ins and write pixels without.
> The problem is "How to detect a page with/without plug-ins?"

we do it in the DOM parser, searching for EMBED and OBJECT tags,
getting the properties and searching for anything called "flash" or
"silverlight" and so on...

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to