💾 Archived View for bbs.geminispace.org › u › zzo38 › 21581 captured on 2024-12-17 at 15:53:20. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "Are we giving too much power to the web browsers?"
Are we giving too much power to the web browsers? Yes. The feature you mentioned is a useful one, but one that the user ought to be allowed to configure.
With many features that web browsers will have, more user commands (keyboard commands, menus, configuration files, etc) to control them should be needed too. Unfortunately, many things require the document to contain them (or JavaScript codes in the document) to work, rather than being specified by user commands which would be better, and the design isn't made very well for such things (instead they tend to remove menus and user options, which doesn't help). Many JavaScript functions and CSS commands will then become unnecessary, if designed better.
Nov 06 · 6 weeks ago
I find it disturbing that Firefox (and derivatives) launch dozens of worker processes just in case. The assumption is that the browser is the most important process in the world and any unused memory is wasted unless the browser uses it. For me it's pretty much the opposite.
It's so bad that when I do PS I can't see anything but browser processes generally.
🦉 ResetReboot [OP] · Nov 08 at 08:31:
Hey @wasolili I went and checked the config and turns out it is another pesky Web API that works both in Firefox and Chrome. So yeah, any JS can go and request that your computer never sleeps for whatever reason, but it is not something your browser does itself.
one solution could be to suspend the tabs (there are extensions, that is useful to save ram and not run js when you don't need the tab).
what is very cool about firefox and its forks is that it remembers which window was in which workspace. i needed that feature a lot.
On Android the firefox UX is a complete mess -- there are tabs, bookmarks, recently-accessed pages, recently-closed tabs and god knows what else all mixed up. I never know when I'll see what. There are 42 tabs open for some reason on my phone, and I am afraid to touch them because I'd hate to have to actually type in URLs or search again.
i just had a thought - how does browser prevent locking?
i use gentoo and i remember mplayer has xscreensaver flag. if it is enabled, mplayer is able to stop xscreensaver when it is running.
what that 'flag' means is that mplayer has this compiltation option. its configure script is able to detect presence of xscreensaver, or it is possible to explicitly tell mplayer to not use xscreensaver, and not have that functionality.
i wonder if firefox has such a flag. or, which screensaver/lock screen do you use? i guess from your desktop environment. is it gnome? it has its own screensavers.
i can only see gnome shell integration.
i guess if you use xscreensaver as your locking mechanism this won't happen.
🐦 wasolili [...] · Nov 10 at 04:11:
@ResetReboot yeah there's a javascript api to let pages prevent locking which can be disabled with the `dom.screenwakelock.enabled` setting. there's a separate feature where videos prevent locking that can be disabled with the `media.video-wakelock` setting.
basically they can tell the program which locks to not lock. And the program may listen instead to you.
🦉 ResetReboot [OP] · Nov 20 at 12:03:
@norayr I'm using Cinnamon, ditched Gnome 3 after a couple upgrades made it unusable thanks to funky deps on my Debian and now I feel quite comfortable in it. Anyway, yeah, as @wasolilli commented I can disable the web API, but if I watch some long video, I do actually want that.
I guess the solution is to close the damn browser while I'm away from the computer, no need to have that window to remote code execution open while I'm not looking xD
Are we giving too much power to the web browsers? — Let's start with the basics. I recently found out that locking my screen in my desktop (Debian Linux) wouldn't suspend the two screens I have attached to it. It should, since the configuration states it should be the case. I checked it and it was correct. I even did the usual waltz of changing the settings to return to the original ones in case something got overwritten. Then, the next step was to start looking over the Web to try to find a...
💬 11 comments · 1 like · Nov 06 · 6 weeks ago · #rant #WorldWideWeb