31 lines
742 B
HTML
31 lines
742 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Redirecting...</title>
|
|
<script>
|
|
var pathSegmentsToKeep = 0
|
|
var l = window.location
|
|
l.replace(
|
|
l.protocol +
|
|
'//' +
|
|
l.hostname +
|
|
(l.port ? ':' + l.port : '') +
|
|
l.pathname
|
|
.split('/')
|
|
.slice(0, 1 + pathSegmentsToKeep)
|
|
.join('/') +
|
|
'/?/' +
|
|
l.pathname
|
|
.slice(1)
|
|
.split('/')
|
|
.slice(pathSegmentsToKeep)
|
|
.join('/')
|
|
.replace(/&/g, '~and~') +
|
|
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
|
|
l.hash,
|
|
)
|
|
</script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|