473,320 Members | 1,865 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,320 software developers and data experts.

mac ie popup of a popup security error

I have a site which uses popup windows as a convenience in filling out
forms - you choose some data on the popup, click OK, and it sets data on
the parent windows form. This works fine in all major browsers and
platforms.

However, on Mac IE (OS 9 or 10, all versions), there is one situation
where this fails. If the parent window was itself launched as a popup,
and the parent window's parent was from a different domain than the
popup, then a security error is triggered because IE thinks you're
trying to access data from a page in a separate domain. As a diagram:

A B C
+------------+ +---------+ +-------+
| Other Site |---| My Site |---| Popup |
+------------+ +---------+ +-------+
^ |
+------------+
Access Form Data

In the above situation we get an error in JavaScript on page C when
accessing window.opener.anyformdata, because although Mac IE should be
checking the domains between window B & C, somehow it is checking
against the unrelated domain in window A.

The obvious solution is not to launch my site as a popup, but alas that
may not be an option. Are there any ideas for workarounds? I've tried
alternate ways of accessing the parent window B other than
window.opener, but the only thing I could think of was something like

var b = window.open(x, 'B', opts)

to get a direct reference to window B (which may or may not solve the
problem), but whatever x is it will reset at least the form data in the
window.

--
Alex

Jul 20 '05 #1
2 1759
MS has dropped support for IE on the Mac. So, don't wait for a fix.

Robert
Jul 20 '05 #2
At Thu, 19 Feb 2004 03:35:56 GMT, Robert wrote:

MS has dropped support for IE on the Mac. So, don't wait for a fix.


I know, and I wasn't :)

Personally I use Safari when I use Macs, but I'm stuck with users who
still use IE :(

--
Alex

Jul 20 '05 #3

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

Similar topics

38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
12
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
8
by: Bijoy Naick | last post by:
It seems like the BBC sports site is able to get past popup blockers.. For eg.. http://news.bbc.co.uk/sport1/hi/cricket/default.stm. Click on the Video icon under "Watch and Listen" - right hand...
24
by: jonathon | last post by:
Hi all, I have a web app with a popup window for entering data. I don't want to access the web every time this window is opened, as most of the app is AJAX. But I can't figure out how to open...
7
by: Drew Berkemeyer | last post by:
Hello, We have an application that we have written using ASP.NET. On one of our pages we open a popup window using javascript. The popup window has a save and a cancel button. Both of them are...
1
by: Rob Petersen | last post by:
I have a datagrid with an Edit/Update column. Instead of editing records "in place" I'd like to do so in a separate popup window because there is a lot of validation, business rules and dynamic...
2
by: VMI | last post by:
I have a LinkButton_search on my Page1.aspx that opens up a popup page called popup.aspx. I do this with LinkButton.Attributes.Add() on the Page_Load of Page1.aspx. How can I add server-side code...
0
by: =?Utf-8?B?QWxCcnVBbg==?= | last post by:
I have a situation in which I need to check for data in either of two fields and display an alert if neither field contains data or if both fields contain data when the user clicks on a View...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.