Chances are, you block pop-ups in your web browser. After all, many are intrusive and interfere with reading. However, sometimes you need them for regulatory notices or functionality. This happened to me when I was going through an online course. In this tutorial, I’ll show you how to allow pop-up windows on Chrome or block them without needing a browser extension.
My Blocked Exam
The problem started when I went to take an online JavaScript test. This course offers a written component and an online test area. Sure enough, when I went to the exam page, I saw the error below. Something was blocking popups and preventing the module from opening.
As a user, you can control what to display or block. For example, you can block a website, but this is outside of the browser. However, Chrome allows you to block notifications and pop-up windows. When it came to popups, I figured there were two possibilities for this alert.
- A Chrome extension acted as a popup blocker and mistook my course for a pop-up ad.
- My Google Chrome settings.
I ruled out the Chrome extensions, which left my Chrome settings. As it turns out, blocking pop-ups is the recommended setting in Chrome.
How to Check Chrome’s Pop-Up Blocker Settings
Please note that I prefer to type commands into the address bar instead of navigating through countless panels and content settings. It’s much faster.
- In Chrome’s address bar, copy and paste the command below:
chrome://settings/content/popups
- A new dialog box appears with two main areas: Default Behavior and Customized behaviors.
[A] The Default behavior section allows you to choose whether you want pop-ups or not. It’s a simple radio button selection. The default setting is to block these.
[B] The Customized behaviors section allows you to get granular. For example, I can explicitly tell Chrome to allow pop-ups on a domain basis. Conversely, I can block them too.
Note: If you have Google Chrome set up to Sync everything in your settings, your changes will be copied to other shared devices.
How to Allow Pop Ups on Chrome for the Current Site
The good news is that the process to allow a specific popup is easy if you’re on the web page. Although the vendor prompted me, my Chrome browser also provided a clue in the address bar.
The screen snap above shows a small red square with an X overlaid on the icon’s lower right corner. That red mark indicates Chrome is blocking something. And for a brief moment, the browser would show “pop up blocked.”
- If you click that browser icon, you’ll get a small window with more details.
- Select the radio button to Always allow pop-ups.
- Click the Done button.
- Within the Customized behaviors section, you’ll see the new domain listed under Allowed to send pop-ups and use redirects. Chrome will automatically append a colon and port number to the URL. Port 80 pages use HTTP, whereas HTTPS pages use port 443.
How to Block Popups on Chrome for Specific Site
The process for blocking pop-ups using an exception list takes a couple of extra steps but is still easy. It’s very similar to managing Chrome notifications. The main difference is you have to know the web domains to block, such as unitedwidgets.com. You would use this process if you changed your Default behavior setting to Sites can send pop-ups and use redirects.
- In Chrome’s address bar, type:
chrome://settings/content/popups
- Scroll down to Customized behaviors.
- Click the Add button. A small window appears prefilled with an entry for example.com. The [*.] before the site or domain name is to declare a wildcard. This saves you from defining protocols (HTTP/HTTPS) or subdomains.
- Replace the [*.]example.com example entry with the one you wish to block. For example, [*.]unitedwidgets.com.
If you’re unsure what to enter, I’d suggest blocking all sites and going to the site in question. Chrome should block the pop-up, and you can use the method outlined in How to Allow Pop Ups for the Current Site.
How to Change a Site’s Setting
Sometimes, mistakes happen, and you might need to make a change to a previous setting. For example, you might have selected to allow a popup when you wanted to block it. Chrome understands the current setting and will provide an option for the reverse. For example, I could easily block the allowed domain below using the drop-down menu.
- In Chrome’s address bar, type:
chrome://settings/content/popups
- Scroll down to the desired section, such as Block or Allow.
- Click the 3 vertical dots (More Actions) to the right of the entry.
- From the menu, make your new selection.
Why Do Pop Ups Keep Appearing
If the Chrome pop-up blocker is not working, there are several scenarios to explore:
- Try to determine if the issue is for one site or all sites. If it’s for one site, you most likely mistyped the domain when adding it to your exceptions list.
- Did you make your changes using an Incognito session? If it’s all sites, then perhaps your global setting got reset.
- If you’re using Microsoft Windows, and Google Chrome is having multiple problems in addition to pop-ups, try Google’s Chrome Cleanup Tool.
- You might have malware. If you suspect this, I would also check to see which apps have access to your Google account.
The bottom line is whether you want to allow pop-ups or block specific sites, Google Chrome has several ways to assist you.