Sign in to follow this  
Followers 0
jonathanhafkamp

PopUp Blocker Code

8 posts in this topic

Hello,

Does somebody know a code for autoit to block popups in Internet Explorer?

Share this post


Link to post
Share on other sites



Hello,

Does somebody know a code for autoit to block popups in Internet Explorer?

I know your looking for an Auto It solution, but why not use use SP2? Or if your getting a bunch of pop-ups, why not try and fix the issue if there is one??

If you have issues with pop-ups, google. "HijackThis.exe"

Share this post


Link to post
Share on other sites

Hello,

Does somebody know a code for autoit to block popups in Internet Explorer?

There is a basic one Here I do not know if it works I just searched the forums.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

I know your looking for an Auto It solution, but why not use use SP2? Or if your getting a bunch of pop-ups, why not try and fix the issue if there is one??

If you have issues with pop-ups, google. "HijackThis.exe"

I know about this programs, and I use them, but I want to create a popupblocker by myself. So that I can learn more about AutoIt.

Share this post


Link to post
Share on other sites

There is a basic one Here I do not know if it works I just searched the forums.

I already tried, but it closes all the windows

Share this post


Link to post
Share on other sites

I know about this programs, and I use them, but I want to create a popupblocker by myself. So that I can learn more about AutoIt.

I was just making sure. B)

Good luck on this.

Share this post


Link to post
Share on other sites

I was just making sure. B)

Good luck on this.

Thanks ;-)

Share this post


Link to post
Share on other sites

This might get you started:

; Loop indefinitely
While 1
    If WinExists('Some popup window') Then WinClose('Some popup window')
    If WinExists('Another popup window') Then WinClose('Another popup window')
    If WinExists('Some spam window') Then WinClose('Some spam window')
    ···
   ; Brief delay (1/4 sec.) to avoid excessive CPU usage
    Sleep(250)
WEnd

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  
Followers 0