Better Pop Up Blocker
What Does It Do?
Better Pop Up Blocker is a Google Chrome extension that improves the default Google Chrome pop up blocker by blocking javascript pop up windows & other annoyances that it misses like alert, prompt, and confirm boxes.
You can get Better Pop Up Blocker at it’s Google Chrome extension page: https://chrome.google.com/extensions/detail/nmpeeekfhbmikbdhlpjbfmnpgcbeggic
NEW: Better Pop Up Blocker runs on Apple Safari 5.01+ now!
Some screenshots of the options it gives you:
Test Your Pop Up Blocker Here
***START OF TEST AREA***
Ensure you have javascript enabled for this page and then click somewhere in this green text or white space and a pop up window will open. Notice that this is just text and not a link at all and there is no indication that clicking here will do anything. The pop ups will will take you to Google, Bing, & Yahoo all at the same time, but I could just as easily have pointed you to an annoying poker site or malicious code. Frequently, picture, video, or poker sites will annoy you with pop ups when you visit their pages and click something, anything, even white space.
White space. Click somewhere:
.
The method I used here can be used for anything, even a picture that doesn’t link anywhere. Hover over the image below and you will see that it doesn’t link anywhere. However, click on it and you will still get a pop up! Does this annoying method sound familiar?:

With Better Pop Up Blocker, you can stop these annoying pop ups & other annoyances that the Google Chrome pop up blocker misses.
***END OF TEST AREA***
How Do I Use It?
To use Better Pop Up Blocker, you simply install it and the url bar button (a blue brick) will show up. It will begin blocking pop ups on new page loads. A regular blue brick indicates the site is blocked from opening pop ups and everything is working fine. A blue brick with a green square indicates that the site is allowed to open pop ups.
If there is a site that you want to allow pop ups on, just click the Better Pop Up Blocker browser button and select the action you want. Remember to check out the options page for more options, including a way to mitigate pop ups from plugins such as Flash.
Version 2.0 of Better Pop Up Blocker has a much improved whitelister that lets you see most of the pop ups that are blocked (the ones that provide a url) and allows you to open them if you wish:
An important note: The Google Chrome extension API is missing some functions that I need to use and required me to use some tricks to make it work. If you experience problems using a website after installing Better Pop Up Blocker, first try white listing it. If that doesn’t work, then try disabling the extension in the Google Chrome extensions page.
Requirements
Better Pop Up Blocker for Google Chrome requires Google Chrome 5.0+. If you are experiencing difficulties, please update your browser to the latest version.
License & Code
Better Pop Up Blocker is available under the GNU General Public License V3.
The source code is available at http://code.google.com/p/betterpopupblocker/
The change log is at http://optimalcycling.com/other-projects/better-pop-up-blocker/change-log/
The license & credits file is at http://optimalcycling.com/other-projects/better-pop-up-blocker/license/
Donate
If you find this Google Chrome extension useful, you can show your appreciation with a donation
Either way, I will continue to update the project since I also use it myself on a daily basis.




[...] Better Pop Up Blocker [...]
[...] Better Pop Up Blocker [...]
this is a great plug-in which helps me a lot! thanks guys!
but, would you make a black list in the plug-in so it can work in the WHITE-LIST ONLY mode or the BLACK-LIST ONLY mode, and allow users to switch between them?
thank you!
The black-list mode option has now been implemented in Better Pop Up Blocker version 2.0 that I’m uploading right now. Google Chrome users will get it in about an hour or when they check for updates. Apple Safari users will get it in about a day or by manually downloading version 2.0 from the direct link.
[...] Better Pop Up Blocker [...]
this extension still has some bugs. If you go to http://www.pcmag.com the page loads with no scroll bar so you only see the top 1/5th of the page. disable Better Pop Up Blocker, refresh the page and the scroll bar comes back.
@Perri
I’m just visited pcmag and I have scrollbars and everything with Better Pop Up Blocker enabled. I’m on the stable channel of Google Chrome and on Apple Safari 5.0.1. Which browser and version are you using?
@Perri, try updating to the latest version of Better Pop Up Blocker (version 2.1.3). That may solve your problems.
I just tried this extension with chrome, but there is one thing that really confuse me – middle-clicking on links trigger the blocker…? That’s awkward, I do it all the time. Literally hundreds of times every day. Surely there must be a distinction between actively clicking a mousebutton on a link and a pop-up? I can’t see any obvious setting changes to affect this either, but maybe someone have some tips?
@Johan, Better Pop Up Blocker doesn’t block based on what mouse button you use. It looks at the back end code that is used to launch the window. Some sites incorrectly use a javascript window.open method instead of just giving you a plain html link. And sometimes, they give you what looks like a regular link only to hijack it when you click on the onclick method and launch a pop up window.
Better Pop Up Blocker intercepts the calls to window.open to let you block or whitelist the site. If you are having problems for a specific site, simply whitelist it using the Better Pop Up Blocker url icon and the drop down menu.
Thanks for your extension.
I have those two errors nearly all the time :
safari-extension://com.optimalcycling.safari.betterpopupblocker-E6486QF2HJ/c089ca5b/common/port.js:80
TypeError: Result of expression ‘callback’ [undefined] is not a function.
safari-extension://com.optimalcycling.safari.betterpopupblocker-E6486QF2HJ/c089ca5b/common/port.js:98
TypeError: Result of expression ‘safari.application’ [undefined] is not an object.
I’m using Safari 5.0.1 mac
@Jean Ravin, Unfortunately I don’t have a Mac to test on, just Windows versions with Safari 5.0.1. What version of Better Pop Up Blocker are you using? The latest is V2.1.4. You can check it in the Options. Can you give me some steps to try and reproduce those errors?
@ericwong
I’m using v 2.1.4. In blacklist mode with only http://www.megaupload.com in the list. The steps are simple, it happens when loading a page. The 1st error in all the pages, and the 2nd in less websites (http://new.myfonts.com/ for example)
I just looked at the code for port.js and your previous post and it looks like this is a known crashing bug in the Safari API where it loses track of the callback pointer. I can’t reproduce it on my computer (either blacklist or whitelist mode) but I may be able to just add a check to see if the callback point is defined. I’ll see if I can fix it.
@Jean, I pushed out a minor update for Better Pop Up Blocker, now V2.1.5. Try it out and see if it helps any. I can’t reproduce any of the errors on my machines since I only have Windows + Linux. Safari on Windows with Better Pop Up Blocker runs without errors.
The link to the latest version for download is at:
http://optimalcycling.com/other-projects/better-pop-up-blocker/safari/
I love It. Its the only thing that blocks Clicksor !!
As long as this thing blocks Jacascript in Hotmail it’s useless. Having to disabled it to check e-mails because it detects opening them as a pop up.
@Grinspoon, does Hotmail work after you whitelist it from the Better Pop Up Blocker drop down menu?
Another solution:
Hotmail uses some javascript tricks to capture mouseclicks on the inbox links. You can disable Better Pop Up Blocker from blocking this by:
[1] Better Pop Up Blocker -> Options -> Blocked Functions
[2] Uncheck “Text selection intercept”
This will let you use Hotmail *without* needing to whitelist anything.
I’m also working on a major update that will bring the whitelisting of Better Pop Up Blocker inline with the methods I use in my NotScripts extension.
Excellent
Thank Yu!!
It makes http://rechneronline.de/funktionsgraphen work wrong (redirect to the graph image) :/ !
i would like to suggest the feature that the blue brick is seen in the address bar ONLY when a popup is blocked: i have hidden the action button and when a popup is blocked it’s difficult to click it because it blinks twice and then it disappears.
thanks from italy.
I really enjoy this extension. I was wondering, is there anyway to allow certain pop-ups, like the one when you click on the Tweet button on a website? I understand that I can temporarily allow pop-ups, click the Tweet button, and then disallow them again, but I was wondering if there was a way to write a rule so they were always allowed.
[...] pop up window.Chrome users who want to see how the browser fails to prevent popups from opening can open the demonstration page. The page spawns popup windows when the user clicks on the image or anywhere [...]
[...] users who want to see how the browser fails to prevent popups from opening can open the demonstration page. The page spawns popup windows when the user clicks on the image or anywhere [...]
[...] users who want to see how the browser fails to prevent popups from opening can open the demonstration page. The page spawns popup windows when the user clicks on the image or anywhere [...]
[...] users who want to see how the browser fails to prevent popups from opening can open the demonstration page. The page spawns popup windows when the user clicks on the image or anywhere [...]
[...] users who want to see how the browser fails to prevent popups from opening can open the demonstration page. The page spawns popup windows when the user clicks on the image or anywhere else on the page. The [...]
Finally succeed to allow every HTTPS sites …
^(http[s]:\/\/[a-z0-9\._-]+\.|http[s]:\/\/)[a-z0-9\._-]+\.[a-z]+($|\/)
Thanks a lot for this extension !
All of a sudden, this Chrome Better Pop Up Blocker Version 2.1.6 does not work with Chrome 9.0.587.0 Dev version… Love this extension, been using it with Chrome Dev for several months now, and it has always worked perfectly and exactly as I needed it, easily the most simple and effective of all the mal-blocking security extensions, but now since Chrome 9.0.587.0 Dev version, just the other day, it is hanging up and has to be uninstalled… even Options can not be accessed, and Disabling does not work either… I really sincerely hope this can be remedied, as browsing without it is going to be a serious *itch!…
i like it, but the “Fire events on unload” does not work. go to http://listen.grooveshark.com and play a song, while the song is playing, close the tab, and it will pop up an alert asking if you’re sure you want to leave the page. or is that not what this option does?
[...] and works great on most sites I have visited. If you want to test it all out, you can do it from this site and see how it works for you. Allows you even to manually set sites with approved pop-up [...]
Will it be possible to port this to Opera? Opera 11 now supports extensions.
It works like a charm. The only problem I have with bookmarklet. I have a number of bookmarklets and they are blocked by Better Pop Up Blocker.
COULD IT NOT DISABLE MY JAVASCRIPT BOOKMARKLET?
For some reason this extension won’t let me past the age-restricted screen on blogger sites. This one, for example: http://guesshermuff.blogspot.com/. I’ve tried whitelisting the site–but still no dice. When I disable the extension, then the site works normally.
I’d just like to say thanks for this extension. It is my favorite!
pretendem desenvolver better Better Pop Up Blocker para firefox?
Excuse my English, because I’m Brazilian.
want to develop better Better Pop Up Blocker for Firefox?
Excuse my English because I’m Brazilian
I love this extension!
I’d like to add my request for support for bookmarklets. I use the Facebook link sharing bookmarklet frequently and find that I have to turn on ‘temporarily allow all globally’. This works, but I tend to forget to turn it off again, and it wants to reload all my tabs. I can turn off the option to reload tabs, but then I still forget to turn blocking back on.
It would be great if it could either ignore bookmarklets, or possibly just have a ‘temporarily allow only this page’ option.
some site need login,when login error it will alert something,but if i use popup blocker,it will stop the event,even i add site to whitelist or temp allow all, after disable it or uninstall it ,chrome will return ok
Most popup blockers I’ve used in the passed distinguished between popups generated by an active click (which typically you want to allow) and those that were automatically created by some script. Is there no way with this extension to have this type of functionality? I find this app very effective in doing what it does, but also somewhat annoying having to whitelist hundreds of sites that open popups when a link is clicked. I would rather allow all popups that were generated after a mouse click. I understand if this it not the direction you’d like to go in, just throwing my humble suggestion out there…
Otherwise thanks for making my browsing experience more sane!
Hi this works really great but I one problem. When i click on to enlarge a pic it stops it from coming up? Is there a setting for this so it does not do this thanks.
I like your plugin so much!
Can you make a sound with alert sound (like Internet Explorer block one popup, download …)?
Thank you!
Greetings
I got a problem whit this extension, my hot mail account does not work when Better Pop Up Blocker is enabled
It doesn’t seem to work in incognito windows. The popup-blocker icon is not present next to the bookmark-star in the top right corner of the browser window.
Hi guys, this pop up blocker is great. But somehow it is too good for normal websites like facebook and hotmail. I could see the preview of my mails of Facebook but couldn’t open them. Same with hotmail. couldn’t open, delete or empty my mail folders… Hope this feedback helps. But this was the first pop up blocker that has been effective against aggressive pop up ads of thepiratebay
Many thanks..
strange the url regex for google blocks disqus’s loading the google login window for disqus’s google openid mechanism.
also, wish that hiding the omnibar icon but still making it flash when it blocked something would keep the icon on the bar when a popup was actually blocked. I’d hack it myself but I have a barely functional pc and typing in this webwsite is stretching its capabilities.
Better Popup Block breaks Hotmail and stops email messages from being displayed. We disabled all extensions/plugins and were able to confirm that the issue exists for v2.1.6.
Don’t find a place to report a bug so I’m doing it here. I have a local site (http://localsite.dev/) running Drupal 7, WYSIWYG and TinyMCE, and the site is whitelisted. Still, after hours of debugging, I realized that it is this app that is the bad guy.
You should probably not add any javascript if the site is whitelisted, that interferes with some things. Exactly what’s happening I have no idea about.
The blocker seems to block silverlight plugins in hotmail (used to attach pictures, add emoticons, and send the mail). This is despite me allowing the hotmail URL. I have to allow all temporarily to bypass the issue.
any chance on updating better pop up blocker?
topix.com has a javascript css popup that makes it through the better popup blocker.
This pop up blocker is not blocking the pop ups for me, what am I doing wrong? I have followed your guidance, and it still does not work.
I am using Google Chrome v.11.0.696.71 and Better Pop-up Blocker v.2.1.6.
I am also a student at BHCC, and need to use their web pages. However, I can’t, because the site claims “JavaScript is Disabled” even when it is not.
I looked through the JavaScript from their site, and this error came up:
“property ‘focus’ of object [object DOMWindow] is not a function”
Obviously, this shouldn’t happen, since
window.focus()is perfectly valid JavaScript. Googling the problem led me back here, to this plugin.I understand how you would want to override this function in the popup blocker, but the BHCC site is whitelisted. In theory, this shouldn’t be happening. It also happens even if I “temporarily allow all globally” in Better Pop-Up Blocker.
Any ideas?
By the way – I know it is definitely Better Pop-up Blocker that is causing the problem, as disabling it entirely in
chrome://extensionsfixed the problem.hi, if you have problem with facebook messages opening (they wouldnt just load), disable “Automatically moving & resizing windows” in extension options->blocked functions. strange bug..
This works very well within a regular Chrome window but it doesn’t appear to work in an Incognito window. Get that working and I think it’ll be a better product.
Can you make it pass test 3 @ http://jessehakanen.net/adblockpluspopupaddon/test.html ?
Hi, just wanted to say that I love this pop up blocked and I hope that even though people are giving you suggestions to make it better that at the least the pop up blocker does work.
Good Job!
Is this project dead? No updates for quite a while. It’s such a shame. Please answer. Thanks!
I find that I need to whitelist twitter.com to get searches or anything else on the top menu to work. Easy workaround obviously, but must be some weird scripting they’re using.
Amazing extension! Kind of a shame browsers still need this these days, but at least it exists. Would be great if it whitelisted bookmarked sites by default.
thanks, great extension 8====>
I love the extension, but it breaks twitter and some parts of facebook. If you could help me figure out what is making them not work I’d really appreciate it.
I really like this extension. The only little nagging detail that bothers me is that sometimes it works a little TOO well. I’ve noticed that some sites will not function properly while Better Popup Blocker is running, and it’s not always obvious that BPB is blocking anything – the blinking icon doesn’t always trigger. (and even when it does it’s easy to miss) I most recently observed this on http://instantrimshot.com/. The sound is blocked from playing and does not cause the icon to blink at all.
One other feature I’d really love to see is the option to play a sound whenever something is blocked, just so I can be sure that I’m not missing anything important.
Chrome warned me that this application can access all me web page data even banking information and credentials.
“This item can read every page that you visit — your bank, your web email, your Facebook page, and so on. Often, this kind of item needs to see all pages so that it can perform a limited task such as looking for RSS feeds that you might want to subscribe to.
Caution: Besides seeing all your pages, this item could use your credentials (cookies) to request or modify your data from websites.”
Can the app take this information and transmit it anywhere?
Thank you for this very valuable chrome extension.
Nonetheless I found a bug…
Ubuntu 10.10
Chrome 14.0.835.202
Better Pop Up Blocker 2.1.6
Twitter.com needs to be whitelisted by default because it severely cripples all the javascript functionality of the site. I ruled out other extensions which are installed.
My experience of this has been totally unsatisfactory. It has made no difference at all to the nuisance pop-ups I was wanting to get rid of, and instead is cutting out access to some crucial pop-ups that as a blogger, I need with my blogging platforms.
Now, I am tearing my hair out trying to learn how to disable it.
Hey,
I love the extension– been using it since I got Chrome!
However, I have a Cr-48 and cannot get it to make an exception for the Google Talk javascript popup. I can disable javascript popups and it works, but that’s not a sufficient exception.
The source is “https://talkgadget.google.com”, and yet it won’t actually make any difference as far as popup or not.
Thanks!
Is there a shortcut you can press while clicking to not block popup. Eg. Shift + click does not block popup or something.
I suggest the feature if its not already implemented
very very nice! easy & usefull…!
i like it very much. thanks
ΠΟΛΥ ΠΟΛΥ ΚΑΛΗ ΕΠΕΚΤΑΣΗ…!
Better Pop Up Blocker is one of the best app in chrome but when i enable it then i am not able to read my message in facebook. it also blocks the meggase in facebook when i click in meggase box.
Hi,
I installed this extension for Chrome, and I have to say that it is literally one of the most effective add-ons I’ve seen, (seriously, it is.) However, I would greatly appreciate it if Better was made for Firefox as well. I’ve looked everywhere for a good popup blocker, but I’ve had no luck. Again, I would love to see Better Popup Blocker make its way to Firefox too. Thanks in advance!
Can i use you popup example code on my site? I’m doing a chrome extensions review, and I’m making examples for each extension.
I love your extension for chrome and it does wonders however I have trouble running it on Facebook. Even when I whitelist Facebook it still causes problems such as not being able to see what I have shared unless I refresh the page and not getting no message indicating that it had failed or was successful. Also I usually don’t notice when I have a popup blocked which usually makes me think a website isn’t working correctly. You should make something dramatic happen like a flash on the entire screen or something (best if it can be configured in the options menu)!
I want to block those annoying pop-ups that appear when you cursor over a word underlined like a link. You even have one of those on your site — how to eliminate?
Hi Eric. Thanks for making this extension. I find it very useful.
Just a warning to other users, the button ‘temporarily allow all globally’ dangerous refreshes all your tabs, so you’ll lose work/content. Eric, is there a solution to this?
HI, love your extension, just have one issue, it blocks twitter from loading properly even after I whitelisted it, any other suggestions or solutions you might have? Thanks for the great tool though
Love this app. Just wish it had an option to stop page redirects globally or prompt me to allow ea. one, or some customizable solution per site.
Great extension, thanks a lot!
I’ve just realized it can also force links to always opening in the same tab (window target option, not enabled by default).
Neat! I used to use another plugin just for that.
never show this block in my gmail account.disable it in my gmail account.so that i can open my mails easily.its very urgent
stopped blocking in chrome 18 please fix thanks
Thank you for this extension. Would it be possible to add an option for a sound when a pop-up is blocked? Often I’m concentrating on other things and don’t see the icon blink, so I don’t realize that a pop-up that I actually want has been blocked. A sound option would just provide another cue. Thanks.
its work but i advise to disable on facebook cus it block after login
like blank page only u can see is headers
mb0ss
impoooooooooortant
Better Pop Up Blocker not compatible with chrome 18
Hello! How can I add to white list the following script: javascript: window.scrollTo (0,0);
For some websites I have to whitelist them in order for the site to function the way its meant to, but since it has been whitelisted there are bad popups that get through. Is it possible to have a whitelist with a sub-blacklist?
HELP! I tried to download this and now my FB page, my FB Scrabble, and my Gmail account doesn’t open in Chrome.
I downloaded a new OS Lion and a new Google Chrome but neither have helped! AUCCCCKKKKKK! Help please!
Thanks!
Norma
@Norma you have to whitelist facebook and other pages that make heavy use of java for them to work. Just click on the icon and then click ‘Allow facebook.com’ and the page should load.
How do I allow pop-ups from an IP address range/network?
I can’t figure out how to allow everything from my local networks?
http://192.168. Doesn’t work.
Love Better Pop Up Blocker! Found it about a year ago and have been using it since.
I found an issue with it, however: it looks like the extension overwrites the
— also overwrite these functions, and the extension’s overwrites take precedence.
window.alertandwindow.confirmfunctions, to add a counter and make sure it doesn’t fire more than a specific number of times, and some websites — like the one I’m working onI noticed, though, that this only started happening when I switched from Whitelist Mode to Blacklist Mode.
Is there anything that can be done to overcome this problem?
Strike that last comment about the issue with
window.alertandwindow.confirmonly happening in Blacklist Mode — it happens either way.Last comment, I promise.
The issue, ironically enough, only happen with websites in which the Blocker is disabled (i.e. in which Pop Ups are allowed). That’s why I thought it was happening only on Blacklist Mode — I tried switching back to Whitelist Mode and adding my site to the Whitelist Web Sites, and it started happening again.
Hi,
I would like to thanks the developper(s) for your work. I’m using it since a long time now.
For all people who encounters problems on Twitter, Facebook, Google+ :
The problem reported is about displaying some iframes in Chrome.
Why? Because some iframe are reported in Chrome like Popup. I have this problem since Facebook change to his new look. I don’t understand why. By searching i have resolve this problem by allowing popup blocker on Google+, Chrome store, Twitter and Facebook.
Is there any solution to separate the blocking of popup and the blocking of iframes? I will glade to found an option to block popups, and one to block iframes.
It’s not a big problem, because i’m using Adblock. Then i allow the popup process on certain sites and block section with Adblock. But your extension is about to be obsolete if websites generates popup from a code inside an valid iframe.
Again, thanks for your work, be aware of my support.
Sincerely
Why I am getting IDM to pop a dialog box to download st.htm file.
This is happening on many sites when a BPUB block a popup.
Is there anything that I can do to stop this from happening.
Can “better popup blocker” do anything about the Meebo social media bar that pops up at the bottom of certain websites?
非常感谢你的插件制作,虽然我是学网页制作的;也懂如何解决javascript代码带来的各种恶意网站。但却没你这么伟大,我最近在学习photoshop都没机会接触html方面的知识。希望将来能像你一样为大家服务!希望你继续努力!
Leave your response!
About
Optimal Cycling is software developed by Eric Wong that utilizes unique algorithms and technologies to provide accurate & detailed power pacing information for cyclists.
Optimal Cycling provides a comprehensive set of options and takes into account things such as acceleration, hills, wind, and varying efforts.
Optimal Cycling predicts your optimal power output at each point on a course and efficiently scales from as few as 10 points to as many as 10,000 points.
Links
Categories
Google Ads
Site
- Contact
- Optimal Power Pacing
- About-License
- Change Log
- Getting Started
- Power Metrics
- File Format
- Other Projects
- Better Pop Up Blocker
- NotScripts
- Browser Security Tests
- OCP VideoPOPOUT
Home > Other Projects > Better Pop Up BlockerMost Commented
Links
Google Ads