HELP: IE7 pop-up blocker bypass

  • 13 years ago

    I have a problem with a child window using the parent's FORM to do a submission/post to open a new window. This is being blocked by IE7. This is happening when accessing an external website that is not listed in the IE7 pop-up blocker allow list.

    If the current page does a FORM submission/post to target "_blank" then this is allowed and a new window pops up. However, if the new child window calls opener.top.document.someForm.submit(); then this is blocked.

    I am developing a website and I don't want to tell users how to setup their popup blocker. I wish to find a way to get around this problem. Does anyone know how to allow a child window use it's parent window's form to do a submission/post to target "_blank"? without being stopped by IE7 pop-up blocker?

     

     

     

  • 13 years ago

     the parent window contains the main form with all the hidden input elements for posting & also correct URL, etc. the child windows know nothing about the URL nor does it have any forms of it's own. the child window would call the parent window's form to submit... to OpenDoc.asp to open a new child window. I do not want the child window to open another child window within itself. Only the parent window should be allowed to open many child windows.

    Get what I mean?

    I even tried writing a auxillary function in the parent window to openDoc()... and the child window calls this openDoc in the parent window. But this still gets blocked. It's like as if IE7 knows the original caller.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone” - Bjarne Stroustrup