471,049 Members | 1,723 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

IE DOM Inspector (again) -- Access Denied

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
2 8475


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

"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.

Similar topics

2 posts views Thread by calfdog | last post: by
reply views Thread by Martin Knauer | last post: by
reply views Thread by ASP.Confused | last post: by
12 posts views Thread by Ron Weldy | last post: by
3 posts views Thread by Shailesh Humbad | last post: by
8 posts views Thread by Jeremy Ames | last post: by
1 post views Thread by Przemyslaw Koprowski | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.