Message from discussion
Why can't Firefox parse HTML?
Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
From: "Matthew Gertner" <matt...@acepoint.cz>
Newsgroups: netscape.public.mozilla.dom
Subject: Why can't Firefox parse HTML?
Date: 17 May 2005 06:37:37 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <1116337057.441755.117310@g47g2000cwa.googlegroups.com>
NNTP-Posting-Host: 80.95.104.81
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1116337063 29184 127.0.0.1 (17 May 2005 13:37:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 17 May 2005 13:37:43 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=80.95.104.81;
posting-account=-cLYOQ0AAAB5ZKZ41GzGPQrJRyIGxtoc
I stumbled on a previous thread in this group:
http://groups-beta.google.com/group/netscape.public.mozilla.dom/browse_thread/thread/22724c738fb67f0f/6fbfd47fb97c34d7
which claims that it is impossible to create a new HTML DOM document
from a Firefox script without displaying it in a new window. This means
that HTML screenscraping using XMLHttpRequest is not possible.
In a fit of pique I ranted about this on my blog
(http://www.allpeers.com/blog/?p=136). I was trying to be funny, but
the issue is serious. I'm probably missing something, but can someone
explain to me why the appropriate interfaces are not exposed to
scripters using XPCOM?
Cheers,
Matt