I have a situation where the server may not be available at the current address, so I want to detect this and redirect the page to a blank page.
How do I do this using JavaScript?
window.location.href="about:blank";
You can simply use:
Source: https://habr.com/ru/post/1390733/More articles:How to assign List to IEnumerable parameter? - listIs it possible to install the application via adb, but still get updates on the Google Market? - androidLink to a specific library with C - cZClip SWF does not align with button position if button position changes - javascriptGet current orderId in magento payment module during checkout - phprepeating the regex section? - pythonHow did you know when the PayPal basket was left? - c #With the DIA chart program, how to add power notation in relationship lines? - cardinalityCreating a sparse matrix from a list of sparse vectors - rCDI constructor injection does not work with transient non-serializable dependencies - javaAll Articles