473,804 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8602


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*******@yaho o.de> wrote in message
news:3f******** @olaf.komtel.ne t...


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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3060
by: calfdog | last post by:
Hello, Does anyone know a workaround for calling fireEvent. With the latest from Microsoft OS XP2 and Hot fixes to IE it now gives an "access denied" error in Python when called. Here is what I am trying to do: Set the "campus" listbox value and theb call fire event, such as in the code below. I get an "access denied" error.
9
6332
by: | last post by:
Hi All, I have allready tried to ask a similar question , but got no answer until now. In the meantime, I found, that I cannot understand some thread-settings for the Main() function . If I use the attribute for the Main() function, I get "access denied error", if I use a ManagementEventWatcher to connect to the local machine to receive events. Is there anybody out there, how possibly can explain why this happens?? If I remove this...
0
3812
by: Martin Knauer | last post by:
Hi, I try to build an Outlook Plugin. After having some trouble with the Inspectorevents I'm trying to build a wrapper for the Inspectorclass. However I'm stuck again after letting VS.Net 2003 create the stubs for the Inspector-Interface. When I try to compile the new Wrapperclass it says
0
3540
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the original question, the subject line is: ADODB.NET and "Access Denied" I have an ASP.NET page writtein in VB that uses ADODB. I just had to
12
3104
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty asp editing (like I used to be able to do with 2K/IIS5) where I use VS.NET, open an asp file, make changes, save and refresh my browser. Problem is that I get an Access is Denied error when I try to save the file and then the file gets wiped on...
3
8010
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that libraries I made myself were not having this problem, but it only happened with a zip library I downloaded and copied into my program's directory. When using classes from this library, my service threw an "Access Is Denied" FileLoadException, which...
8
6054
by: Jeremy Ames | last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in ASP.NET 1.1, but was migrated to 2.0 during development. The reason this is an issue is because the application is using the Microsoft.Web.UI.WebControls.dll for the tree view and tab strip controls that didn't exist prior to 2.0. Well, that is...
1
2001
by: Przemyslaw Koprowski | last post by:
Hi all, Imagine you have a class, containing two methods with the same name (say 'get'), but one being an inspector the other mutator - the class contains a kind of data structure (vector in the example below, but more complicated in the real-life example) and for 'incorrect' calls the inspector returns zero but the mutator expands the storage.
0
3967
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was getting the Access denied error. After checking different settings and googling I wasnt able to pinpoint the problem and as a temporary fix I decided to merge the two assemblies into one, my logic being no offending assembly no access denied...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9152
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.