• 0 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: July 23rd, 2023

help-circle
  • dracs@programming.devtoFirefox@lemmy.mlContainer Addons
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 month ago

    I’m just using Mozilla’s Multi-Account Containers extension. In my work’s infinite wisdom I have a total of five “single sign on” accounts. So I have different containers for each account so I avoid the endless “which account would you like to use” and “this account doesn’t have access to this resource”.

    The extension allows me to set specific domains to always open in container X. That covers 90℅ of my use cases. Some sites I need to use different accounts with and for that I have to select which one to use each time.




















  • It’s mostly a power efficiency thing. Before push notifications were the norm, most apps used a polling method. They had the application send a request every X seconds asking “anything new”. There wasn’t coordination between apps, so even every app checked once every 30s, it likely wouldn’t be on the same 30s. This caused the device to wake up a lot and never let it switch into low power mode.

    A push notifications system like FCM or UnifiedPush means only a single application needs to run in the background. It maintains a persistent connection to the push notification service and waits for a message. When it receives one it wakes up the relevant app and passes it the details.