I have recently realized that I will occasionally hear notification sounds from applications that I had previously opened but no longer has any active tabs (email client, discord, etc.). I’m assuming this means they are allowed to keep some sort of connection in the background until I close all Firefox windows. Is this a bug or a “feature”? How do I turn it off? I don’t want any application running at any capacity except when I have tab(s) open for them.

  • pietervdvn@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    This is a browser feature called ‘service workers’ which indeed allows websites to keep a process running for e.g. notifications.and pending updates.

    Can be highly annoying. Visit ‘about:serviceworkers‘ to see the installed ones.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Try using an addon like Basic Automatic Tabs Unloader, it will kill tabs completely a while after they’ve been closed. You can set the grace period as low as you want.

    The Firefox native tab unloader is extremely permissive and only kills tabs when the whole system starts running low on RAM.