build some of your own projects then. For example, my router has split routing between sites that require no VPN and normal sites. Find a project to do that isn't covered by tutorials, or read manuals instead of tutorials
tbf public transport can be very bad for privacy, depending on the politics of your country... granted, with facial and other recognition nowhere is safe
For the browser, use Firefox (Fennec or Mull in F-Droid) with Ublock Origin. For anything else, honestly if the app has ads you should avoid using it anyway.
You can do it via any of the tun2socks implementations. Maybe this can achieve what you want (it's an app with a hardcoded leaf config, you will have to compile it yourself)
If you're fine with proprietary code, this should be enough.
you should declare all variables with let before you assign them, it's good practice and you can enforce it by enabling strict mode - put "use strict"; at the beginning of your function (or the entire script). Of course it's only needed in browsers, strict mode is usually enabled by default in most tools.
try not to execute extra code if you can help it. For example, in this case only the final reversedWord value matters, so you can do it at the end as opposed to on every iteration. Your code right now works in O(N^2) - with every new character in the string its speed decreases exponentially, but it should work in O(N) - a linear time. If you couldn't create reversedWord at the end, you could still initialize it with an empty string and append some text with += on every iteration, that still works in O(N) time as you don't have to recreate the entire string on every iteration.
Race is a social concept. Race is a thing which exists. Gender is a social concept. Gender is a thing which exists. Race is based on ethnicity, but can't be explained by it alone, gender is based on sex, but can't be explained by it alone.
LTSC isn't hacked, it's an official LTS version