This website works better with JavaScript.
Home
Explore
Help
Sign In
kornerr
/
metki
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Перенаправить жёстко
master
Михаил Капелько
5 years ago
commit
88952880c2
3 changed files
with
178 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
.gitignore
+18
-0
index.html
+158
-0
метки_1.0.0.html
+ 2
- 0
.gitignore
View File
@@ -0,0 +1,2 @@
# Временные файлы VIM.
*.swp
+ 18
- 0
index.html
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>
+ 158
- 0
метки_1.0.0.html
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save