-
Bad Request
-
The server did not understand the request
+
Bad Request
+
The server did not understand the request
-
Here's what might have happened:
+
Here's what might have happened:
- - You may have mistyped the URL
- - The site was moved
- - It was never here
+ - You may have mistyped the URL
+ - The site was moved
+ - It was never here
-
Double-check the URL. Alternatively, go back
+
Double-check the URL. Alternatively, go back
@@ -201,6 +201,15 @@
$el.style.display = 'none'; // hide the element
}
});
+
+ if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
+ ((s, p) => { // localize the page (details here - https://github.com/tarampampam/error-pages/tree/master/l10n)
+ s.src = 'https://cdn.jsdelivr.net/gh/tarampampam/error-pages@2/l10n/l10n.min.js'; // '../l10n/l10n.js';
+ s.async = s.defer = true;
+ s.addEventListener('load', () => p.removeChild(s));
+ p.appendChild(s);
+ })(document.createElement('script'), document.body);
+ }