473,394 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Read the TITLE of a window.open popup

Hi All.
I need to read the TITLE of a window popup opened by a my page.
I'm testing this code

<SCRIPT>
var a = window.open("http://www.pippo.com", "a");
setTimeout("alert(a.document.title);",5000);
</SCRIPT>

without success:
on FireFox I have no alert; on IE I receive the error "access is
denied".

Can you please help me?

Thanks in advance,
A.
Oct 28 '06 #1
5 1839
Andrea A wrote on 28 okt 2006 in comp.lang.javascript:
Hi All.
I need to read the TITLE of a window popup opened by a my page.
I'm testing this code

<SCRIPT>
var a = window.open("http://www.pippo.com", "a");
setTimeout("alert(a.document.title);",5000);
</SCRIPT>

without success:
on FireFox I have no alert; on IE I receive the error "access is
denied".

Can you please help me?
Page code has no entry into another domain's pages
in standard security of browsers.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Oct 28 '06 #2
Page code has no entry into another domain's pages
in standard security of browsers.
It is a local application: can I modify something on my browser settings to
accomplish the task?

Thanks
Oct 28 '06 #3
Andrea A wrote on 28 okt 2006 in comp.lang.javascript:
>Page code has no entry into another domain's pages
in standard security of browsers.

It is a local application: can I modify something on my browser
settings to accomplish the task?
That depends on the browser used, and it's settings.

Usually you can change thos settings via the menu.

Under IE you can also use .hta files.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Oct 28 '06 #4
>It is a local application: can I modify something on my browser
>settings to accomplish the task?

That depends on the browser used, and it's settings.

Usually you can change thos settings via the menu.

Under IE you can also use .hta files.
I don't know hot to do it.

Now i'm using Firefox 1.5.0.7.

Can you tell me how to do?

Thanks,
A
Oct 28 '06 #5
Andrea A wrote on 28 okt 2006 in comp.lang.javascript:
>>It is a local application: can I modify something on my browser
settings to accomplish the task?

That depends on the browser used, and it's settings.

Usually you can change thos settings via the menu.

Under IE you can also use .hta files.

I don't know hot to do it.

Now i'm using Firefox 1.5.0.7.

Can you tell me how to do?
No, I am using IE7.

Perhaps ythis is a little more something for a broweser dedicated NG,
This NG seems to be more about javascript programmme language.

However some guru might answer.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Oct 28 '06 #6

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

Similar topics

1
by: David | last post by:
Hi, I use the following page code to open a popup window - it works OK, but whilst the popup is loading you can see the URL in the title of the popup until it's fully loaded and then the title...
5
by: Clive Moore | last post by:
In my web application I provide the user with a popup window to a rich text document by calling window.open(). My problem is that the title of the open window is something like...
9
by: Kavi | last post by:
in the pop up window, there is always a url before the title of the window, is there a way i can only have the title, and no url? i cannot give u a link to my page, but i have found an example...
4
by: Jon | last post by:
Hi, I am calling the function showpopupWindow(item) to open and write a popup window. When testing in IE6 locally the popup window displays my text in both the title and status bars but when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...

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.