| I had a feeling there would be a number of options to this perennial
problem
|
There's also another approach, though it may not
be something that fits your situation:
IE has always been designed to be deeply tied into
Windows and aimed primarily at corporate use. (Which
is also a big part of why it's such a disaster for personal
use.) Part of that design applies to what you want to
do. If you want to write or find the right software,
you can control IE internally. Microsoft created mime
filters and protocol handlers for the purpose. They're
COM libraries that plug in to the IE process directly.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
A protocol handler handles
getting the actual data for a specific protocol (http:,
ftp:, res:, file:, etc.) Urlmon.dll is the default protocol
handler, but replacing it with your own only requires
a Registry edit. Your handler would then have the task
of carrying out the server conversation to download
files, and handing them off to IE. In the process you
can do whatever you like. Facebook.com can return
a picture of Donald Duck or the front page of BBC news.
You have total control.
A mime filter is similar to a protocol handler but it
sits in between the protocol handler and IE, handling
content-type rather than protocols. If a mime filter is
registered for a content type (official "content-type"
names like "text/html") then any conforming download
that comes through the protocol handler will be passed
to the mime filter, which acts as a middleman. In the
case of text/html that means webpages. The mime filter
also has total control. It gets the file bytes from the
protocol handler and passes them to IE. Two chances to
turn facebook.com into Donald Duck!
Protocol handlers and mime filters may be more than
you want to take on, but I wouldn't be surprised if
there's something like that commercially available. There
must be lots of companies that need to do just what
you're doing.