17
What is the point of all the information given out by your browser?
(literature.cafe)
There is no such thing as a Stupid Question!
Don't be embarrassed of your curiosity; everyone has questions that they may feel uncomfortable asking certain people, so this place gives you a nice area not to be judged about asking it. Everyone here is willing to help.
Reminder that the rules for lemmy.ca still apply!
Thanks for reading all of this, even if you didn't read all of this, and your eye started somewhere else, have a watermelon slice ๐.
Theres no way to control that.
Some of us are professional software developers old enough to have started programming in Windows 95. Rather than being dismissive, maybe you should question whether you have a full understanding of how everything works.
Light / dark mode doesn't require a server request. It's a client side API. The client side JavaScript or CSS can request to know what mode the system is wants and can adjust itself accordingly.
The problem is that there's no way of preventing the client from knowing what mode it ends up in and sending that information back. The client need to be able to query what's rendered for a variety of reasons, not least of which is maintaining backwards compatibility with all of the 90s and 00s era web APIs that use these to update what's displayed.
You can disable JavaScript if you want, and that will prevent much of this information being sent back, but you'll also break most websites because most websites need client side JavaScript to provide a modern UX that people expect, because at a fundamental level, dynamic software that responds to what the user is doing and adjusts itself accordingly is more powerful then static software that just consists of a preset information laid out. You can build basic websites that consist of just static documents and forms and work without JavaScript but you're limited to basic document sites without interactivity like blogs.
And guess what happens then? Everyone downloads programs and applications for anything with interactivity and they have even deeper access to system information.