Comment by 🐦 wasolili

Re: "Are we giving too much power to the web browsers?"

In: u/ResetReboot

@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.

🐦 wasolili [flaired user]

2024-11-10 · 11 months ago

2 Later Comments ↓

🐙 norayr · 2024-11-11 at 11:45:

basically they can tell the program which locks to not lock. And the program may listen instead to you.

🦉 ResetReboot [OP] · 2024-11-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

Original Post

🦉 ResetReboot

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 · 2024-11-06 · 11 months ago · #rant #WorldWideWeb


Source