[Original] How to Prevent pop-up windows from being intercepted by Google Toolbar

Source: Internet
Author: User

Sundy original 20004-11-03

Nowadays, the pop-up window is messy. Many people do not want to see the pop-up window. However, some useful windows want to be seen by others. the opne method is blocked when the window is opened. You can solve this problem so that your window is not blocked by Google toolbar. Even if the Interception Function is enabled, it does not intercept.
The following code is in ie6sp1, Google Toolbar (enable blocking pop-up window), and passes the test
Default.htm

<Script language = "JavaScript">
VaR test = {{showmodaldialog('open?#htm', 'openwindow ','');
Window. Opener = NULL;
Window. Close ();
</SCRIPT>

Opentracing htm
<Script language = "JavaScript">
Function openfullscreen (){
Window. Open ("default1.htm", "full", "fullscreen"); // The ult1.htm file to pop up the window file for you
Window. returnvalue = "test ";
Window. Close ();
}
Openfullscreen ();
</SCRIPT>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.