-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebsite.html
127 lines (101 loc) · 3.07 KB
/
website.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>html</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script
type="text/javascript"
src="/js/lib/dummy.js"
></script>
<link rel="stylesheet" type="text/css" href="/css/result-light.css">
<style id="compiled-css" type="text/css">
/* EOS */
</style>
<script id="insert"></script>
</head>
<body>
<h1 id="myName">name</h1>
<hr>
<p id="aboutMe"><em>about me</em></p>
<hr>
<h2>Things I like</h2>
<ul>
<li id="firstThing">Playing Roblox</li>
<li id="secondThing">Playing Minecraft</li>
<li id="thirdThing">Coding</li>
</ul>
<button id="changeList" type="button">
Change your list
</button>
<p id="g"></p>
<hr>
<script type="text/javascript">//<![CDATA[
var item1;
var item2;
var item3;
var name;
var aboutMe
document.getElementById("changeList").onclick = password;
/* my own stuff next, shame it didnt work */
function password() {
var passWord = prompt("Password")
if (passWord != null) {
document.getElementById("g").innerHTML =
"Welcome " + passWord;
}
var realpass = ("Splat753");
if (passWord == realpass) {
newList(); }
else{
alert("Incorrect Password For This Account.");
}
}
function newList() {
var backUp = realpass
name = prompt("Enter a name:");
aboutme = prompt("about you");
item1 = prompt("Enter a new first thing: ");
item2 = prompt("Enter a new second thing: ");
item3 = prompt("Enter a new third thing: ");
jomama = prompt("New pasword leave blank to keep old")
if (realpass = (""))
realpass = backUp;
updateList()
}
function updateList() {
document.getElementById("firstThing").innerHTML = item1
document.getElementById("secondThing").innerHTML = item2
document.getElementById("thirdThing").innerHTML = item3
document.getElementById("myName").innerHTML = name
document.getElementById("aboutMe").innerHTML = aboutme
}
</script>
<!-- <script>
function checkPswd() {
var confirmPassword = "Splat753";
var password = document.getElementById("pswd").value;
if (password == confirmPassword) {
window.location="www.mywebsite.com";
}
else{
alert("Incorrect Password For This Account.");
}
}
</script> -->
<script>
// tell the embed parent frame the height of the content
if (window.parent && window.parent.parent){
window.parent.parent.postMessage(["resultsFrame", {
height: document.body.getBoundingClientRect().height,
slug: "Lvoc09m4"
}], "*")
}
// always overwrite window.name, in case users try to set it manually
window.name = "result"
</script>
</body>
</html>