3 ms·
This blog post prompted to look for ways to display a friendly error message to the user, explaining the issue and that upgrading the browser may help. This is
by Flimm 5y ago
This blog post prompted to look for ways to display a friendly error message to the user, explaining the issue and that upgrading the browser may help. This is what I found: https://stackoverflow.com/a/70671657 https://stackoverflow.com/a/70671657
I would also like to display a friendly error message to the user if I resource fails to load because of a 404 or because of network issues. This is the only solution I found: https://stackoverflow.com/a/64243346/247696 https://stackoverflow.com/a/64243346/247696
Of course, I don't think this is the whole solution. But it's something we can do without waiting for browsers to get updated.
- masklinn 5y agoThere are two issues with that: 1. the error message will not be helpful or actionable, instead of the website not working it'll be telling the user to get lost 2. google can break it at any moment with no notice (others as well, but google seems much more aggressive in their "deprecation"), they already removed (then reverted because of just how much it broke) cross-origin alerts