Twitch is the same way, but youtube is working fine. Hexbear loaded correctly when I first installed this distro, then it just stopped working the next day without anything being changed.

I remember seeing someone else mention a similar problem a while back, but I couldn't find that post when I tried searching for it.

  • KobaCumTribute [she/her]
    hexagon
    ·
    10 months ago
    Uncaught (in promise) TypeError: ServiceWorker script at https://hexbear.net/service-worker.js for scope https://hexbear.net/ encountered an error during installation.
    Uncaught (in promise) NS_ERROR_FILE_ACCESS_DENIED: 
    

    Twitch is the same error message. A private window works for both, safemode doesn't work for either. So this is, what, a usergroup permissions issue with where it wants to cache something, and the private window avoids that by not trying to write anything?

    • unperson [he/him]
      ·
      edit-2
      10 months ago

      It sounds exactly like that. Perhaps you ran firefox as root at some point?

      I'd say:

      • delete the cache:
      rm -rf .cache/mozilla
      
      • set yourself as the owner of everything under ~/.mozilla:
      chown -Rc $(id -u):$(id -g) ~/.mozilla
      
      • make sure you can write to everything under /.mozilla:
      chmod -Rc u+w ~/.mozilla
      

      If you get permissions errors, run them with sudo.

      • KobaCumTribute [she/her]
        hexagon
        ·
        10 months ago

        It was the firefox that came preinstalled in the distro and I only ever ran it from the icon on the panel, but someone else's advice to install the flatpack version worked so I just swapped to that. Thanks for taking the time to try to help, anyways.