473,668 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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("ht tp://www.pippo.com", "a");
setTimeout("ale rt(a.document.t itle);",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 1856
Andrea A wrote on 28 okt 2006 in comp.lang.javas cript:
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("ht tp://www.pippo.com", "a");
setTimeout("ale rt(a.document.t itle);",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.javas cript:
>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.javas cript:
>>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
3528
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 changes to whatever I put in the <TITLE></TITLE> Any way to force the popup to display the <TITLE> whilst the page loads? Thanks
5
24048
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 http://localhost:8080/app/images/232334.rtf. Is it possible to set this title to something different. As Im loading what is basically a word document instead of a html document I can't set it in the page. Thanks Clive
9
8589
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 you can look at... http://www.spiderenterprises.com/how...l/popup.html#f goto "Onclick fullscreen popup."
4
10318
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 viewed online from my website the titlebar text is preceded by the full URL and a - ( eg http://www.........co.uk - text I want to display) and the status bar appears to only display Downloading picture...
0
8462
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
8382
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
8802
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
8586
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,...
1
6209
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
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2792
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
2028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1787
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.