window.opener question

  • Thread starter Christopher Benson-Manica
  • Start date
C

Christopher Benson-Manica

Let's say that some script on a page opens a new window with a certain
URL. The page at that URL immediately forwards the popped up browser
window to a different URL. Can the popped up window still refer to
the original window using window.opener?
 
R

Richard Cornford

Christopher said:
Let's say that some script on a page opens a new window

With a reported 1400% increase in the use of pop-up blockers over the
last year:-

<URL: http://www.silicon.com/hardware/storage/0,39024649,39118629,00.htm(and they don't cite the source so a large pinch of salt is called for)

- that would be an optimistic proposition, but OK, lets say it does.
with a certain URL. The page at that URL immediately forwards the
popped up browser window to a different URL.

Better if the server redirects/forwards when it receives the request for
the first URL.
Can the popped up window still refer to
the original window using window.opener?

Cross-domain security restrictions may apply, but otherwise that should
be OK.

Richard.
 
C

Christopher Benson-Manica

Richard Cornford said:
With a reported 1400% increase in the use of pop-up blockers over the
last year:-

Well, our users can't use our site if they disallow popups - their
choice :)
Better if the server redirects/forwards when it receives the request for
the first URL.

Probably, but I want to use an existing CGI, and the name of the cgi
that's originally being popped up is fixed.
Cross-domain security restrictions may apply, but otherwise that should
be OK.

Great - thanks.
 
L

Lasse Reichstein Nielsen

Christopher Benson-Manica said:
Well, our users can't use our site if they disallow popups - their
choice :)

Just to make a point: No, it's your choice to use popups and to make
a site that requires it. It can be avoided if you so desired.

Users really don't need a reason not to use a site :)

/L
 
C

Christopher Benson-Manica

Lasse Reichstein Nielsen said:
Just to make a point: No, it's your choice to use popups and to make
a site that requires it. It can be avoided if you so desired.

It could - but I don't design the site, I just help maintain it :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top