Sign in to follow this  
Followers 0
Unc3nZureD

Detect firefox popup window

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



First: I use Firefox :)

Second, I don't need ad blocker, I just want to make a firefox tool with some unique features :)

junkew:

I'm trying that method. Seems to be a bit difficult, but I'm trying at least :P

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