By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

IE DOM Inspector (again) -- Access Denied

P: n/a
Hi all,

So, I posted a question about a DOM inspector for IE (mozilla comes with
one, which is pretty nice).

Since I got no reply, I wrote my own, which works pretty well. It is laid
out like the mozilla one, but isnt quite as nice, because I did not want to
spend too much time with it.

Anyways, I implemented it with frames, where one frame contains the source
document, and another frame inspects the DOM recursively, and prints it to
the inspector frame.

Unfortunately, (and pretty much expected), I dont have access to the DOM of
a location that is not on my server. I get an "Access Denied" error. I
understand why this is there, but is there any type of read-only access to
the DOM of a page in a frame that you do not own?

Any ideas on how to work around this problem?

Thanks,
Brian
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a


Brian wrote:
So, I posted a question about a DOM inspector for IE (mozilla comes with
one, which is pretty nice).

Since I got no reply, I wrote my own, which works pretty well. It is laid
out like the mozilla one, but isnt quite as nice, because I did not want to
spend too much time with it.

Anyways, I implemented it with frames, where one frame contains the source
document, and another frame inspects the DOM recursively, and prints it to
the inspector frame.

Unfortunately, (and pretty much expected), I dont have access to the DOM of
a location that is not on my server. I get an "Access Denied" error. I
understand why this is there, but is there any type of read-only access to
the DOM of a page in a frame that you do not own?

Any ideas on how to work around this problem?


Sort of, MS Windows knows so called HTML applications, there you should
be able to script an iframe content from another server. Start with
saving your .html page as .hta and then check msdn.microsoft.com for
details about HTAs.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

P: n/a

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:3f********@olaf.komtel.net...


Brian wrote:
So, I posted a question about a DOM inspector for IE (mozilla comes with
one, which is pretty nice).

Since I got no reply, I wrote my own, which works pretty well. It is laid out like the mozilla one, but isnt quite as nice, because I did not want to spend too much time with it.

Anyways, I implemented it with frames, where one frame contains the source document, and another frame inspects the DOM recursively, and prints it to the inspector frame.

Unfortunately, (and pretty much expected), I dont have access to the DOM of a location that is not on my server. I get an "Access Denied" error. I
understand why this is there, but is there any type of read-only access to the DOM of a page in a frame that you do not own?

Any ideas on how to work around this problem?


Sort of, MS Windows knows so called HTML applications, there you should
be able to script an iframe content from another server. Start with
saving your .html page as .hta and then check msdn.microsoft.com for
details about HTAs.

--

Martin Honnen
http://JavaScript.FAQTs.com/


You rule! All I had to do, was change it from HTML to HTA, and make the
frames as IFRAMES, and it worked beautifully! My DOM inspector for IE works
pretty well.

Thanks,
Brian

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.