| View previous topic :: View next topic |
| Author |
Message |
Muzzi
Joined: 15 Jun 2008 Posts: 111 Location: Sydney, Australia
|
Posted: Wed Sep 23, 2009 3:07 pm Post subject: ***THE FIREFOX POPUP BLOCKER*** /// SCRATCHED & UPDATED |
|
|
*scratched
UPDATED VERSION HERE
http://www.autohotkey.com/forum/viewtopic.php?t=49246
IT WAS UPDATED DUE TO TERMINATING FIREFOX'S PRIMARY WINDOW. THERE WERE POPUPS THAT POPPED UNDER THAT TRICKED THE SCRIPT AND KILLED ALL WINDOWS. GRRRR! I HATE THEM! 
Last edited by Muzzi on Fri Sep 25, 2009 3:18 pm; edited 8 times in total |
|
| Back to top |
|
 |
TheIrishThug
Joined: 19 Mar 2006 Posts: 419
|
Posted: Wed Sep 23, 2009 3:40 pm Post subject: |
|
|
| Is there a reason why you indent your code when you are not starting a new section or block? |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5044 Location: the tunnel(?=light)
|
Posted: Wed Sep 23, 2009 4:26 pm Post subject: |
|
|
| TheIrishThug wrote: | | Is there a reason why you indent your code when you are not starting a new section or block? |
He appreciates aesthetics? _________________ Try Quick Search for Autohotkey or see the tutorial for newbies. |
|
| Back to top |
|
 |
Muzzi
Joined: 15 Jun 2008 Posts: 111 Location: Sydney, Australia
|
Posted: Wed Sep 23, 2009 10:23 pm Post subject: |
|
|
This link serves as a good test bench as it produces 10 popup windows in a couple of seconds.... and my script stops them all.
Just make sure the script is running as popups occur instantly on entry and exit of the page.
http://www.popuptest.com/popuptest1.html |
|
| Back to top |
|
 |
Z_Gecko Guest
|
Posted: Thu Sep 24, 2009 12:07 am Post subject: |
|
|
Why should i use an external popup-blocker for Firefox?
The built-in popup-blocker works very well,
i get no popups on the demo-site you posted with my unmodified Firefox. |
|
| Back to top |
|
 |
Muzzi
Joined: 15 Jun 2008 Posts: 111 Location: Sydney, Australia
|
Posted: Thu Sep 24, 2009 12:26 am Post subject: |
|
|
Hi Z_Gecko, yes that is true!
But for example could you try this site with and without my script and tell me what you get?
http://www.searchftps.com/indexer/search.aspx ...and for it to take effect click 3 times on a blank area within the page and a popup should appear then it will pop under.
Works for me everytime  |
|
| Back to top |
|
 |
Z_Gecko Guest
|
Posted: Thu Sep 24, 2009 8:49 am Post subject: |
|
|
| ah, i see. thanks. |
|
| Back to top |
|
 |
doyle
Joined: 14 Nov 2007 Posts: 325 Location: London, England
|
Posted: Thu Sep 24, 2009 10:01 am Post subject: |
|
|
Cannot test, as I am currently at work, but does it recognise when I "Open a New Window"?
Also, what about the occasional pop-ups that I do want?
There appears to be no way of white-listing?
It looks like a good hard/fast script for blocking everything though. |
|
| Back to top |
|
 |
Muzzi
Joined: 15 Jun 2008 Posts: 111 Location: Sydney, Australia
|
Posted: Thu Sep 24, 2009 2:16 pm Post subject: |
|
|
^^^^^^^^
^UPDATED^ 24/9/09 - full credits to doyle for this idea
*Now with added toggling feature so you can still allow the wanted popups within pages - read the full details within the script. |
|
| Back to top |
|
 |
SoggyDog
Joined: 02 May 2006 Posts: 783 Location: Greeley, CO
|
Posted: Thu Sep 24, 2009 9:18 pm Post subject: |
|
|
When I test against the 2nd website provided above, it attempts to close my main window and leaves the popup open.
Since I usually run with several tabs open in Firefox [v3.5.3], it asks if I want to close all tabs or cancel;
It won't let me cancel (endless loop)... I have to either let it close all the tabs or exit out of your popup blocker. _________________
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played." |
|
| Back to top |
|
 |
Muzzi
Joined: 15 Jun 2008 Posts: 111 Location: Sydney, Australia
|
Posted: Thu Sep 24, 2009 9:37 pm Post subject: |
|
|
Hmmm! I'm intrigued in your results SoggyDog. I used this as my test bench for weeks and my script never faulted for days, and you've seen something I was getting during my scripts R&D days.
What OS are you running on and what is the build of your PC? Not that this should matter but just curious.
I havent had this happen to me yet so if you're keen to mod my script please do so and touch base with me for an update, would be much appreciated. |
|
| Back to top |
|
 |
|