

JavaScript is already sandboxed. You can only execute functions where there is an actual API defined by the browser to do so, for example Date.getTime()
. There is / should be no way to get, say, your device ID. (With the exception of unpatched exploits that allow executing arbitrary code. But keep in mind browsers are likely one of the if not the most security tested software.)
What you linked to here appears to specific to Google Tag Manager in a way that I don’t fully understand, but is not related to how websites usually execute JavaScript code.
Apologies, I don’t understand. Is any modern Linux distro lacking “general usability” or applications? Anyway, for Bazzite, there’s a bunch of ways to install software. (Though I haven’t used it myself.) I’m also not sure what you’re looking for when you’re saying “support”. Good documentation? A helpful community? Continued active development?
Just because there’s a strong focus on gaming doesn’t mean the distro would suddenly do bad at everything else, especially… general home/office use. Linux is good with that across the board. I hope I didn’t misunderstand. Please explain.