I apologize if this is not the most appropriate group to post to.
I would like to find out how an external app can get access to
IE's DOM that is contained within a FRAME or IFRAME element
embedded in a browser page WHERE the I/FRAME's domain differs
from that of the containing document.
This access is not available to the containing document, because
that would be a security violation (except in some IE 5.5 one can do
IE.document.getElementsByTagName("IFRAME")[0].Document).
An app running on the local machine, however, should be able
to gain this access (it's clearly trusted), but VB/Script does not
seem to agree with me (I'll post the simple demo code if
there's interest).
The motivation is that I've written a VB/Script App on my
Win 2K Pro system that runs on IE 5.5 where you can point
at a place on a browser window, and my App will identify the
smallest DOM element containing that point, even if within
multiply embedded I/Frames (for example, a text element
within the doubleclick genealogy ad). However, for this to
be useful to others, it should work on their systems, too,
hence my quest - will I be able to convert my code to a larger
audience than just me?
I have been looking high and low for weeks within the VB
community, and I have pretty nearly exhausted all options.
So please keep in mind that I'm not a C programmer (but for
this solution, I'd be willing to learn).
At this point, I would just like an authoritative "You
can do it, and here's the essential concept you'll need to
investigate when you've learned enough", or "You can't
get there from here. Microsoft slipped up on this architecture,
and I should know because I wrote the code". Well, maybe
they don't need to be quite so authoritative...
Hey, thanks in advance for any replies,
Csaba Gabor from New York
PS. In case these are not the best groups to post to, please let
me know which one(s) would be better because I fished around
for a while before picking these two.