home.social

#serviceworkers — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #serviceworkers, aggregated by home.social.

  1. I dislike the common practice of service workers (like hotel or restaurant workers or store clerks) calling me "boss." I'm not their boss, and they aren't slaves, certainly mine. I wish we lived in a culture that didn't encourage this kind of casual subservience of workers.

    #work #workersrights #serviceworkers

  2. And as usual @rosa's talk is a definite recommendation to listen.
    This time it's about #serviceworkers and offline support in #hotwire / #hotwirenative.

  3. @DimlyLitCorners it seems that #ATProto has adopted CIDs and maybe some other pieces of IPFS so maybe piecemeal adoption will get us to standardization one day!

    In the mean time, there's a P2P IPFS implementation that currently works in browsers using #ServiceWorkers! Each individual website would need to include this for it to work, but it's a start! youtube.com/watch?v=qtIJXRgxjVA

  4. All the promises of native capabilities have failed to materialize; #ServiceWorkers don't always stay active in the background, Share Targets often get hijacked with phony URLs, Installed PWAs don't always appear in the platform's App management GUIs, syncing between devices doesn't always happen, Notifications have gotten so abused that nobody even wants them anymore!

  5. I’m currently working on my voice-training app (#FTVT) and despairing at the communication with the service-worker: I can send a message to it, it can receive it and I can send a response. But no matter what I try the response never arrives with the original content-script…

    (My code is
    here and here)

    Anyone any ideas?

    #serviceWorkers #webdev #typescript

  6. ICYMI: Google tag now leverages service workers to enhance data collection: Service workers improve measurement reliability and data tracking for websites using Google Tag Manager. ppc.land/google-tag-now-levera #GoogleTag #ServiceWorkers #DataCollection #WebDevelopment #DigitalMarketing

  7. @adactio.com puts another of his books online:

    “The book is free to read. Properly free. Not the kind of ‘free’ where you have to supply an email address first. Why would I make you go to the trouble of generating a burner email account?
    The site has no analytics. No tracking. No third-party scripts of any kind whatsover.”

    I already have the book; nonetheless this kind of approach makes me very happy.

    adactio.com/journal/21578

    #Books #ServiceWorkers

  8. This issue codeberg.org/luckivibes/webedi has been haunting us for two re-openings already, would anybody with knowledge in #serviceworkers be able to take a look at the repo and help us out?

    (Boosts for reach appreciated)

    #dev #programming #javascript #webdev

  9. I guarantee if I am ever an asshole to you, we're in one of several well-defined states:

    1. I'm confused about the situation and I apologize.
    2. Maybe I'm just bitchy or cranky and I need to take a breath, and I apologize.
    3. You deserve every ounce of what you're getting, shithead.

    Note that this never applies to service industry workers who are just doing their jobs. Those people deserve all the respect and tips you have.

    #ServiceWorkers #JustDontBeAJerk

  10. I'd like to spend some more time with #WebComponents, #ServiceWorkers, #WebSockets, #OffscreenCanvas, #WebWorkers, #WebGPU, #SVG, and the #GamePad #API.

    I've been noodling for a long time about how you could build a game using #ESModules, and #CustomElements to allow players to author their own components to extend the game.

    I guess I'm just more interested in how the game works mechanically than how it looks.

  11. I'd like to spend some more time with #WebComponents, #ServiceWorkers, #WebSockets, #OffscreenCanvas, #WebWorkers, #WebGPU, #SVG, and the #GamePad #API.

    I've been noodling for a long time about how you could build a game using #ESModules, and #CustomElements to allow players to author their own components to extend the game.

    I guess I'm just more interested in how the game works mechanically than how it looks.

  12. I'd like to spend some more time with #WebComponents, #ServiceWorkers, #WebSockets, #OffscreenCanvas, #WebWorkers, #WebGPU, #SVG, and the #GamePad #API.

    I've been noodling for a long time about how you could build a game using #ESModules, and #CustomElements to allow players to author their own components to extend the game.

    I guess I'm just more interested in how the game works mechanically than how it looks.

  13. I'd like to spend some more time with #WebComponents, #ServiceWorkers, #WebSockets, #OffscreenCanvas, #WebWorkers, #WebGPU, #SVG, and the #GamePad #API.

    I've been noodling for a long time about how you could build a game using #ESModules, and #CustomElements to allow players to author their own components to extend the game.

    I guess I'm just more interested in how the game works mechanically than how it looks.

  14. I'd like to spend some more time with #WebComponents, #ServiceWorkers, #WebSockets, #OffscreenCanvas, #WebWorkers, #WebGPU, #SVG, and the #GamePad #API.

    I've been noodling for a long time about how you could build a game using #ESModules, and #CustomElements to allow players to author their own components to extend the game.

    I guess I'm just more interested in how the game works mechanically than how it looks.

  15. @jeffowski

    I always love to hear the Karens complaining about how 'you can't get decent service anymore' when they're also voting against paying #ServiceWorkers anything like a #LivingWage

    #HappyNewYear
    :BLM: :af: :iww: :better_pride:

  16. How should you manage a #WebSocket connection in a Multi-page App? Say, one that needs to listen on all pages all the time like a chat widget?

    Do you connect in the main thread, and just reconnect on each page navigation?

    Or do you create the #socket in a #serviceWorker instead?

    #webDev #javaScript #web #webSockets #networking #mpa #serviceWorkers

  17. Thank you for the many posts and Reddits that point out that the inability of some browsers to upload and / or display pictures is due to a problem with these browsers' #ServiceWorkers.

    Is there also somewhere a solution posted for this?

    e.g., @feditips

    Edit: typos corrected

  18. I had no idea how difficult it was to make reliable calendar-like notifications in a web app, without a server sending push events.

    Its even harder if I want to support Firefox and not require Chrome. (And I do want to support Firefox and not require Chrome).

    Trying to see if either delegating the timing to an open tab or using the WebExtensions api provides any options, but it has not been a clear journey, so far.

    #pwa #Firefox #ReminderNotifications #ServiceWorkers #WebApp

  19. Honestly struggling with #Chrome's Manifest V3 limitations regarding its background script. Can't get any long-lived processes working, and managing hydration of states during suspension and wake up is troublesome as #serviceworkers don't fire events for this.

    I'm honestly afraid that I'll just have to fall back and get the browser extension to rely on the desktop app.. And this really defeats all the strides @buttercup has made with its browser extension being its own application. Don't want to do it but I'm seeing no other *reliable* way.

    Anyone else out there building #browserextensions hitting this road block? Would really appreciate any words of encouragement or suggestions as to what to do here..

    #browserextension #browseraddon #browseraddons #firefox #manifestv3

  20. Honestly struggling with #Chrome's Manifest V3 limitations regarding its background script. Can't get any long-lived processes working, and managing hydration of states during suspension and wake up is troublesome as #serviceworkers don't fire events for this.

    I'm honestly afraid that I'll just have to fall back and get the browser extension to rely on the desktop app.. And this really defeats all the strides @buttercup has made with its browser extension being its own application. Don't want to do it but I'm seeing no other *reliable* way.

    Anyone else out there building #browserextensions hitting this road block? Would really appreciate any words of encouragement or suggestions as to what to do here..

    #browserextension #browseraddon #browseraddons #firefox #manifestv3

  21. Honestly struggling with #Chrome's Manifest V3 limitations regarding its background script. Can't get any long-lived processes working, and managing hydration of states during suspension and wake up is troublesome as #serviceworkers don't fire events for this.

    I'm honestly afraid that I'll just have to fall back and get the browser extension to rely on the desktop app.. And this really defeats all the strides @buttercup has made with its browser extension being its own application. Don't want to do it but I'm seeing no other *reliable* way.

    Anyone else out there building #browserextensions hitting this road block? Would really appreciate any words of encouragement or suggestions as to what to do here..

    #browserextension #browseraddon #browseraddons #firefox #manifestv3

  22. I dislike the #PWA UI pattern of presenting the user with a "the app has updated, click here to reload" link. We do this because we know the page needs to be reloaded, but aren't brave enough to simply reload the page. The side effect is that we have outdated clients running long after we've pushed changes to the server they must talk to. Just reload! Or do it between user interactions! #serviceworkers #webdevelopment