Jump to content
Sign in to follow this  
Champak

IE Popup

Recommended Posts

Champak

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
zorphnog

Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBOC_POPUPMANAGEMENT

Value: iexplorer.exe

Set the value to 1 to block 0 to unblock.

http://support.microsoft.com/kb/843016

Share this post


Link to post
Share on other sites
someone

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')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites
Champak

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.