So I regularly see issues in Firefox where pages from certain websites (Hello amazon.ca!) shoot to 100% CPU utilization and just never stop.

I’m wondering, is there a plugin that could periodically check the FF process list and identify tabs that are misbehaving like this (or in other ways, extreme memory consumption, perhaps?) and perform configurable actions like “Reload page (GET only of course) on tab” or “Kill tab” ?

It would be helpful because I see this issue on a daily basis, regularly to the point where these tabs are causing problems.

I already have “Auto tab discard” that discards unused tabs, but I’d like this as an extra feature, or a separate plugin.

Anyone who knows what could be useful?

  • solrize@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    This is an interesting idea but Firefox itself should both limit resource consumption and do those sorts of stops. Hmm.

    • HubertManne@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      this. no tab should be able to use more than like 10% cpu without a popup and the user manually enabling a higher level from a dropdown or something.

  • HubertManne@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    from my experience things like this generally don’t work to well. The problem is that once its at 100% the sytem is bogged down so it won’t actually kill it till the tab has calmed down and you can interact yourself again. Granted it might still get it before it spikes again so im not saying its without merit. Just warning to temper expectaions if you do find something like that.

  • Shadow@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    This feels like a Band-Aid instead of fixing the root problem. I’ve never seen this happen, maybe you have a bad plugin causing it? Turn off all your plugins or start a new profile, then turn things on one at a time.

  • rnercle@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    partner uses Vivaldi which has a very practical option to disable background synchronization for all sites and make exceptions for some.

    i can’t see something similar in firefox/librewolf preferences