Jump to content

Detect firefox popup window


Recommended Posts

I'd like to make a home-made popup blocker for my firefox. Usually when popups appear, they have a special kind of window. Let me show it:

Untitled.png

On the left side you can make new tabs etc, meanwhile the right one has only one page and looks a little bit different. I'd like to detect such windows and automatically close it.

Of course searching by title isn't a good solution. I tried looking at the Style & exStyle with the au3info, but they are the same. They has the same class too. Anyways I can't individually find smaller classes, like home button, since firefox is a "block".

Have you guys got any idea what could I do? How could I detect it? I'm out of ideas :/

(Please don't tell me to turn of popup blocker of FF, since it's already turned on, but they just bypass it)

Edited by Unc3nZureD
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...