Page 1 of 1

PopUp blocker?

Posted: Thu Dec 01, 2005 1:31 pm
by HappyUser
This may be quite naive of me to assume this is the solution for popup blocking in IE, but I would love this to be fixed so here goes.

Pop-up Blocker
The Pop-up Blocker feature blocks pop-up (and pop-under) windows that are initiated automatically from a Web site. Windows in the Internet and Restricted sites zones are blocked by default. However, the Pop-up Blocker allows windows that are initiated by a user action. Users can configure Internet Explorer 6 for Windows XP SP2 to be more or less restrictive. Users can also turn off the Pop-up Blocker altogether.

Generally, the Pop-up Blocker allows a window to open under the following circumstances.

When initiated by user action, such as a mouse click on a button or hyperlink
When opened in the Trusted sites and Local intranet zones (considered safe)
When opened by other applications running on the local machine

The affected script methods are:

Note Pop-ups created with window.createPopup are unaffected by the Pop-up Blocker.
Most methods that open a new window return a window object. When the Pop-up Blocker blocks a window, the method that attempted to open it returns null instead. Before using the object, script should test for and handle a null return value when opening a window. See Window Restrictions for more changes to window objects in Internet Explorer 6 for Windows XP SP2.

Internet Explorer no longer launches a new window when is called on an onunload event. Some Web sites used this method to try to get users to stay on the site longer or to serve users one more advertisement.

Another common practice is to open a new window outside of the visible desktop area. Internet Explorer no longer allows this. Also, a window cannot be opened that is larger than the screen. See Window Restrictions for more information.

The Pop-up Blocker is managed through a feature control registry key (FEATURE_WEBOC_POPUPMANAGEMENT). It is enabled by default for Internet Explorer (iexplore.exe) and Windows Explorer (explorer.exe). The following shows the registry key and enabled processes.

Internet Explorer
iexplore.exe= 0x00000001
explorer.exe= 0x00000001
process name.exe=0x00000001

Applications that host the WebBrowser Control can enable the Pop-up Blocker by adding their process to the registry. This can be done programmatically by using the CoInternetSetFeatureEnabled function. If an application does not run under this feature control, the WebBrowser Control behaves the same as Internet Explorer 6 SP1b.

Original Link ... .asp#popup

Re: PopUp blocker?

Posted: Thu Dec 01, 2005 1:52 pm
by support
Thanks for the comprehensive post :-)

This kind of thing has been on the to-do list for a while now and we've actually already looked at enabling *all* the new security features of Internet Explorer, not just blocking popups. However, we ran into a few compatibility problems and couldn't get things working 100% reliably and the 2.2 release schedule meant that it had to be put on hold. It'll be in an up-coming beta release.

We're also going to add a "safe mode" that strips out JavaScript and other nasty stuff from feed content. This will also stop popups, embedded ads, etc.

Posted: Sun May 07, 2006 5:15 pm
by r111
any update on controling popups?

Posted: Sun May 07, 2006 7:14 pm
by support
r111 wrote:any update on controling popups?

Awasu's safe mode will be added before 2.3 although I can't tell you exactly when. There are a few other major features ahead of it in the queue so it's not going to be next week or anything like that :-) :whip:

In the meantime, if you're using XP, you can turn on IE's new popup blocker as described above. Also, if you search the forums, several people have been using third-party ad blockers and the like which will almost certainly also handle popups as well.