JavaScript Popup Blocker for Chrome takes care of popups on sites like LiveTV - gHacks Tech News

JavaScript Popup Blocker for Chrome takes care of popups on sites like LiveTV

The majority of modern web browsers come with popup blockers that take care of several common types of popups that you may run into on the Internet.

You may encounter sites and services that use different techniques to spawn popup windows in the browser that are not blocked by the default popup blocking mechanics.

One basic example are popups that are launched as soon as you click anywhere on the site.

These popups are usually created using JavaScript and while browser extensions such as NoScript may help as they prevent JavaScript from being run by default, they may also limit the site's functionality at the same time.

JavaScript Popup Blocker

javascript popup blocker

Chrome users can install the JavaScript Popup Blocker extension which adds advanced popup blocking capabilities to the web browser. While there is no guarantee that it will take care of all popups that you may run into on the Internet, it takes care of several annoying forms of popup windows including popups that are spawned when you click on a page element on a website.

The extension displays an icon in Chrome's address bar that highlights the number of popups that it has blocked on the active website.

You can click on that selection to see all those popups, which can come in handy if you need to open one of them. Some websites use popups for certain features, such as downloads, and if you block them, you won't be able to use those functionality.

A site that bombards you with popups is the live streaming website Livetv which not only uses them to launch the player window, but also to spawn a lot of popups regularly while you are watching the stream.

You will notice that the Chrome extension blocks the streaming window popup on the site as well, but that is easily fixed by launching it manually with a click on the extension's icon and the selection of the right blocked popup window from the list.

Popups are not spawned anymore in the player window and while you will still see lots of ads, it is less annoying than having to deal with ads and popups on the site.

JavaScript Popup Blocker ships with options to whitelist websites, so that popups are allowed on those. You can use wildcards * when you add websites, which may be useful for sites that use popups for part of their functionality.

chrome block popups

If you do not like the "block all" approach of the application, you can alternatively switch to a blacklist only setting. Here only popups that you have added to the blacklist are blocked, while all others are allowed.

Verdict

JavaScript Popup Blocker is a handy extension for the Chrome browser that gives you better control over popups in the browser. The whitelist approach is probably best for the majority of users, as it blocks all popups except on pages that you have explicitly whitelisted in the options.

Since it is possible to open any blocked popup window with a click on the extension's icon, you are not losing any functionality in this regard. And if you run into the same blocked popups regularly, you can easily whitelist them to make things more comfortable for you.

Now Read: How to block mouse-click popups in Mozilla Firefox





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Sergey said on October 31, 2013 at 1:02 pm
      Reply

      Is this something like NoScript/YesScript?

      1. Martin Brinkmann said on October 31, 2013 at 1:26 pm
        Reply

        No, it is only affecting popups and not regular scripts run on websites.

        1. Sergey said on October 31, 2013 at 4:07 pm
          Reply

          ah! got it

    2. Dexter said on October 31, 2013 at 6:21 pm
      Reply

      Would love to see this for Firefox :)

      1. Anonymous said on October 31, 2013 at 8:52 pm
        Reply

        Firefox already has one built in and I find it great for my purposes, but if you want a back-up or secondary blocker, here’s one for Grease Monkey/TamperMonkey with a white/black list option: http://userscripts.org/scripts/show/172604

      2. Anonymous said on October 31, 2013 at 8:53 pm
        Reply
    3. Dexter said on October 31, 2013 at 8:57 pm
      Reply

      Standard blocker can’t block popups from opensubtitles.org
      And I don’t want to install Greasemonkey just for that script

    Leave a Reply