DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: HELP: IE7 pop-up blocker bypass

  1. #1
    Join Date
    Jun 2007

    HELP: IE7 pop-up blocker bypass

    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; 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?

  2. #2
    Join Date
    Jun 2007
    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.

  3. #3
    Join Date
    Mar 2007
    Bangalore, India
    The aim of using the pop-up blocker was to prevent any pop ups (in the highest security level) from opening via script. Even if a script tries to open a popup by sending a form from the main window (a script not triggered by a button), it will be prevented. Try to think what the developers intended to do: stop ALL pop ups. If they have done their work well, I don't think there is any alternative but to make the client explicitly set up their pop up blocker settings. But I do think that signed scripts have an exception here. They can open windows, provided that the signed script ends up by a root provider which is in the trusted certifiers list.

  4. #4
    Join Date
    Oct 2005
    can helps ?

  5. #5
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Quote Originally Posted by Razee Marikar
    I don't think there is any alternative but to make the client explicitly set up their pop up blocker settings.
    I agree with this.

    You can alter the settings for your IE session, but not someone else's (at least, you should never mess with how another has their browser configured).

    This brings up another question of, how important is it to have this pop up in your app?

Similar Threads

  1. Replies: 3
    Last Post: 07-05-2007, 07:03 AM
  2. Regarding closing a pop window
    By Usha.R in forum ASP.NET
    Replies: 1
    Last Post: 02-14-2006, 04:30 AM
  3. how to disable popup blocker by using javascript
    By ankushbindra in forum VB Classic
    Replies: 0
    Last Post: 11-21-2005, 01:45 AM
  4. Exchange and multiple POP accounts
    By Randy in forum Enterprise
    Replies: 1
    Last Post: 10-11-2001, 03:52 PM
  5. Javascript - Calendar Pop Up with Timer
    By Ann in forum Architecture and Design
    Replies: 1
    Last Post: 12-02-2000, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center