473,789 Members | 2,728 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access 3rd-frames in Firefox or MSIE

Hello All JS-Experts,

Is it possible to access 3rd-frames in Firefox or MSIE? I would like to
write a html-based test framework. There are two frames. One is the test
console and the other is a test box. However I failed to read contents
of a Web page, when it comes from a 3rd-domain.

Is it really impossible?

--
Best regards
Xu, Qian (stanleyxu)
http://stanleyxu2005.blogspot.com/
Jun 27 '08 #1
2 1247
SAM
Xu, Qian a écrit :
Hello All JS-Experts,

Is it possible to access 3rd-frames in Firefox or MSIE? I would like to
write a html-based test framework. There are two frames. One is the test
console and the other is a test box. However I failed to read contents
of a Web page, when it comes from a 3rd-domain.

Is it really impossible?
You can say it is.

cross-domain is not allowed !

you can display a foreign page in a frame (or iframe or window) but you
can't interact with it :-(
the foreign page will not be readable by JS.
All you can try to do it is to download it with php, and there
(server-side) to try to read it, extract datas or tags and then to send
results to browser (eventually in JS variables).

--
sm

Jun 27 '08 #2
Xu, Qian wrote:
Is it possible to access 3rd-frames in Firefox or MSIE? I would like to
write a html-based test framework. There are two frames. One is the test
console and the other is a test box. However I failed to read contents
of a Web page, when it comes from a 3rd-domain.

Is it really impossible?
Inside of the browser sandbox it is not possible but you could try to
write a HTML application (HTA) on Windows, that way your HTA code can
access the frame. See
http://msdn.microsoft.com/en-us/libr...71(vs.85).aspx
Or learn how to write Firefox extensions, then your extension code can
access the HTML documents loaded in browser windows or frames.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1999
by: Serious_Practitioner | last post by:
Good day all, and thank you in advance for your help. No - MANY thanks in advance for your help - I know nothing about using databases on Web servers. I am about to discuss a project with a client who is in the apartment rental business. He solicits "For Rent" listings from property owners and managers, advertises the apartments, shows them, takes applications and like that. His inventory, as it were, is a list of vacant apartments that...
0
8641
by: newms | last post by:
The following thread is related to a file access problem that seems to be a C# language problem. I have temporarily resolved it with vb.net as described below and thought it might be helpful to anyone else experiencing a similar issue. Or maybe someone can resolve this in C#........... ____________________________________________________________________________ _________________ Hi Scott, thanks a lot for your input. I did try using...
22
6289
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
11
2612
by: GNoter | last post by:
Is there any way to set up connecting to an MS Access file on a 3rd server (which is on a domain) from a Web Farm (which is not on the domain)? Hardware/OS: Windows Server 2003 Web Farm (two web servers which are network load balanced, or NLBs) ASP.NET v1.1 Microsoft Access 2003 We're seeking to set up an NLB webfarm. One of the web-apps uses a MS Access database. Given the NLB (2 boxes), the MS Access database can't reside on either...
1
5068
by: kayberrie | last post by:
I want to write a VBA mail merge code. I want to link the code/macro/dohicky to a nifty little button so it makes life easy. I think I can handle the button part, the code part - not so much. I know very little (actually probably nothing) about VBA and I'm currently learning my way around Access. Basically, I want to click a button in the form that merges the letter for me, only for the one record I'm currently viewing..not the whole...
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10142
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
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
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
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
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
3703
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.