Update index.html
Browse files- index.html +22 -23
index.html
CHANGED
|
@@ -1,32 +1,31 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
-
<title>
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
<script>
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
if (window.top !== window.self) {
|
| 15 |
-
window.top.location.replace("https://1hit.no");
|
| 16 |
-
} else {
|
| 17 |
-
window.location.replace("https://1hit.no");
|
| 18 |
-
}
|
| 19 |
-
} catch (e) {
|
| 20 |
-
// If cross-origin access blocks top, fallback
|
| 21 |
-
window.location.href = "https://1hit.no";
|
| 22 |
-
}
|
| 23 |
-
})();
|
| 24 |
</script>
|
| 25 |
-
|
| 26 |
-
<link rel="canonical" href="https://1hit.no">
|
| 27 |
-
</head>
|
| 28 |
-
<body>
|
| 29 |
-
<p>Redirecting to <a href="https://1hit.no">1hit.no</a>…</p>
|
| 30 |
</body>
|
| 31 |
</html>
|
| 32 |
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
+
<title>Open 1hit.no</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
display: flex;
|
| 9 |
+
justify-content: center;
|
| 10 |
+
align-items: center;
|
| 11 |
+
height: 100vh;
|
| 12 |
+
font-family: system-ui, sans-serif;
|
| 13 |
+
}
|
| 14 |
+
button {
|
| 15 |
+
font-size: 1.2rem;
|
| 16 |
+
padding: 1rem 2rem;
|
| 17 |
+
cursor: pointer;
|
| 18 |
+
}
|
| 19 |
+
</style>
|
| 20 |
+
</head>
|
| 21 |
+
<body>
|
| 22 |
+
<button onclick="openSite()">Enter 1hit.no</button>
|
| 23 |
|
| 24 |
<script>
|
| 25 |
+
function openSite() {
|
| 26 |
+
window.open("https://1hit.no", "_top");
|
| 27 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
</body>
|
| 30 |
</html>
|
| 31 |
|