469,271 Members | 1,787 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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 1665
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 discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.