this post was submitted on 15 Aug 2024
41 points (93.6% liked)
Asklemmy
43806 readers
888 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
background/defocused tabs are 'paused' by default.
paused meaning no runtime execution of scripts or anything else.
firstly, there's always some security and plenty of privacy mischief around focus.
secondly, it's almost always wasting cycles, so its just wasteful of resources and energy.
ofc with some option for you to eg. right-click on a tab and mark it as 'runtime in background' or something, for webmail or messengers etc which you do want runtime.
but it should essentially be whitelisted.
i've actually played with this in the firefox debugger and it essentially appears feasible so really hope this feature comes oneday - or i finally get some time to look into making an addon for it.
Oh, how so?
that's cool, yes a browser should stop using resources when you stop using it ( minimize it ), or using that particular tab by making it inactive, chromium based browsers behave like that if I'm not mistaken
check here for some basic examples. eg. it can be used to leak info from one context to another.
there's ofc legit uses for it too, which is why i argue for user intervention.
i may be wrong? but my understanding is they'll currently limit resources, but execution still takes place? that's definitely useful, but my argument is for for an option where CPU resources be limited to 0 in background (without user intervention).