Websites may use a technology called Push API to display prompts to the user on visits to allow them to push notifications to the browser.
The new technology is on the rise thanks to the recent integration in browsers such as Firefox or Google Chrome.
Firefox users? Check out our detailed Firefox Push Notifications guide here.
There are two sides to it. It can be quite useful on the one hand, for instanc, by informing you about new articles published on a blog, new email in your account, or when items on your wishlist are available for sale.
On the other hand, it may be abused easily as well. Sites may display (text advertisement) in those notifications, or simply spam you. Also, if the majority of sites use them, you are bombarded with notification requests.
While you need to permit sites to use Push Notifications, you will usually find out how they are using these after you give them permissions.
When you visit a website in Google Chrome that supports these notifications, a prompt is displayed automatically.
The prompt displays the hostname of the site at the top, and below that it wants to "show notifications". You may allow or block the request using buttons, or close the prompt using the x-icon in the top.
Google changed the notification behavior in recent versions of Chrome. You control notifications in the following way now:
You can block the notification feature completely in the Google Chrome browser if you have no use for it.
The whitelist/blacklist feature is useful if you have selected to allow or block all notifications in Chrome using the content setting described above.
Tip: You can open the exceptions list by loading the url chrome://settings/contentExceptions#notifications in the browser
If you have set it to allow, you can blacklist (read block) sites using the exceptions list, and if you have set the feature to block all notifications prompt, you may whitelist (read allow) select sites to display notifications despite that.
Click on the "manage exceptions" button underneath the notifications options. Please note that some sites may have been added there by Google, and that you cannot remove those sites from the listing. These are displayed in italics, and there seems to be no way to remove them.
To add a site simply enter its hostname, e.g. https://example.com/ and select the allow or block permission.
If you want to add exceptions for an entire domain, add [*.] in front of the domain name.
Useful resources to research the topic further
Google Support on managing exceptions
Google Support on allowing or blocking notifications, hiding the notification icon (Chromebook only), and turning off notifications from some sites (Android and Chromebook only).
You may remove permissions that you have set at any time using the menu.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.