Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / November 2007

Tip: Looking for answers? Try searching our database.

HELP: IE7 pop-up blocker bypass

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew Wan - 14 Nov 2007 16:01 GMT
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?
Andrew Wan - 14 Nov 2007 16:22 GMT
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.
Randy Webb - 14 Nov 2007 22:58 GMT
Andrew Wan said the following on 11/14/2007 11:01 AM:
> 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.

Stop trying to open a new window, problem solved.

Signature

Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

Sam Hobbs - 15 Nov 2007 00:13 GMT
I might not understand. Are you trying to get around the pop-up blocker? If
that is what you are trying to do, then there are thousands of obnoxious
jerks that want to do that.

Are you saying you don't want to give the user the option of controlling
their system? Are you saying you want to force the user to get your pop-ups?
If a pop-up is what the user wants, then they will be happy to allow it.

>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
[quoted text clipped - 10 lines]
> do a submission/post to target "_blank"? without being stopped by IE7
> pop-up blocker?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.