Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
kornerr
/
metki
Segui
1
Vota
0
Forka
0
Codice
Rilasci
0
Attività
Sfoglia il codice sorgente
Перенаправить жёстко
master
Михаил Капелько
4 anni fa
commit
88952880c2
3 ha cambiato i file
con
178 aggiunte
e
0 eliminazioni
Visualizzazione separata
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
Vedi File
@@ -0,0 +1,2 @@
# Временные файлы VIM.
*.swp
+ 18
- 0
index.html
Vedi 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 soppresso perché troppo grande
Vedi File
Write
Preview
Loading…
Annulla
Salva