-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtajemstvi.html
More file actions
34 lines (34 loc) · 1.04 KB
/
tajemstvi.html
File metadata and controls
34 lines (34 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>tajna-stranka.garlic</title>
<script>
// co sem čumíš ty zmetku
function checkelement() {
var element = document.getElementById("element").value;
if (element === "dotaznik4") {
document.getElementById("elementSection").style.display = "none";
document.getElementById("contentSection").style.display = "block";
setTimeout(function() {
window.close();
}, 10000);
} else {
alert("Špatný heslo");
}
}
</script>
</head>
<body>
<h1>tajna-stranka.garlic</h1>
<p>zadej heslo a získáš speciální informaci:</p>
<div id="elementSection">
<input type="element" id="element">
<button onclick="checkelement()">zadat</button>
</div>
<div id="contentSection" style="display: none;">
<p>správně! ale máš smůlu protože jsem tohle ještě nedodělal, je mi to líto:</p>
<a href="http://lpvk.xf.cz">odkaz</a>
</div>
</body>
</html>