Jump to content
Sign in to follow this  

IE Popup

Recommended Posts

I searched for "popup" in the title, so if I missed something, please point me to it.

I am using IE object like "$oIE = _IECreate("",0,0)", but that is causing pop-up windows sometimes. I know I can set up a loop to close these windows, but I would prefer that they never appeared in the first place. So unless I missed a way to do it through autoit, is there a way to communicate with IE settings in the background and activate the pop-up blocker option (without showing dialogs/windows) before navigating to the page?

Share this post

Link to post
Share on other sites

Searching around I found this about the pop up blocker...

Click me

Its about different methods of enabling the blocker... it does have a registry key. Hope that helps a little at least

EDIT: Doh! too late

Edited by someone

While ProcessExists('Andrews bad day.exe')

Share this post

Link to post
Share on other sites

Actually, that's wrong, but you guys set me in the write direction searching the registry, thanks. The right one...that I'm looking for... is:

RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\New Windows", "PopupMgr", "REG_DWORD", 1)

However, I'll probably use the one you guys provided as an addition to this. What you should note, is on the link you provided it says, "but the pop-up windows that are opened by a user will still open in the usual manner."

Also, I'm using IE7, could someone confirm if both these registries exist in v6 and maybe 5?

Edited by Champak

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...