Перенаправить жёстко

This commit is contained in:
kornerr committed 2019-09-02 15:17:47 +03:00
commit 88952880c2
3 files changed
+178

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Перенаправление / Redirection</title>
</head>
<body>
<script>
const база = "метки_1.0.0.html";
const запрос = window.location.search.substring(1);
var адрес = база;
if (запрос.length)
{
адрес += "?" + запрос;
}
window.location.href = адрес;
</script>
</body>
</html>