As title: I'd like to receive push notifications from pages that are not currently open in any tab; as well as when no Chrome browser window is open.

Currently facebook.com already does this, but I'm not getting notifications from sites like messenger.com or whatsapp.com when they're not open.

  • Same issue here in Firefox 55 with Telegram web. – Luc Apr 27 '18 at 13:40

TL;DR: Go to about:debugging#workers in Firefox or chrome://serviceworker-internals/ in Chrome, find the relevant entry, and click "unregister".

It seems this is caused by 'service workers'. In Firefox, you can see them in about:debugging#workers (put that in your address bar). I discovered dozens of service workers, all supposedly stopped (none of them were marked as running), but Telegram was amongst them and I was definitely still getting notifications from the tab which I closed long ago.

After clicking "unregister", the worker disappeared and I no longer get notifications.

The notifications are pushed to the worker via some service, such as Mozilla's own push service. Each message has a time-to-live. If this time is long enough, the message will even be delivered the next time you start your browser (in case you closed the browser or were offline).

This is the first time I hear of anything in a browser, other than extensions of course, that remains actively running after closing a tab. Seems like this is even better than cookies if you want to track someone... every time they come online they'll announce themselves to you again.

  • TIL about these active workers as well @Luc. Thanks for the info! Super interesting topic to dive deep into. I checked under the hood of my own browser had a few from coin tracking websites, and one from the Washington Post. I don't use their services or pay monthly as most my reading is done using Firefox Focus. :/ – fady Apr 28 '18 at 0:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.