> No, I can't. That does not work reliably.
In all your given examples, it does.
> Frankly, even Electron applications are better than making web pages that behave incorrectly.
You know that 90% of Electron apps do not have any native function calls and are just wrappers on top of a web-app?
I just don't understand what you are criticizing anymore.