Unc3nZureD Posted March 31, 2014 Posted March 31, 2014 (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: 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 March 31, 2014 by Unc3nZureD
junkew Posted March 31, 2014 Posted March 31, 2014 see this thread '?do=embed' frameborder='0' data-embedContent>> you can watch the events that come around and once you have received a newwindow event you could check the content of the windows FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Alexxander Posted April 1, 2014 Posted April 1, 2014 just use a chrome ad blocker https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom?hl=en
Unc3nZureD Posted April 1, 2014 Author Posted April 1, 2014 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now