-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7.js
50 lines (48 loc) · 1.54 KB
/
7.js
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
document.addEventListener("contextmenu", function (e) {
e.preventDefault();
});
function calculate() {
var lover1 = document.getElementById("lover1").value;
var lover2 = document.getElementById("lover2").value;
if (lover1 === "Love" && lover2 == "Calculator") {
window.location.href = "c9f0f895fb98ab9159f51fd0297e236d";
} else if (lover1 || lover2) {
results.innerText = Math.floor(Math.random() * 100 + 1) + "% !";
var key = Math.floor(Math.random() * 7 + 1);
var quote = "SDsasdF";
switch (key) {
case 1:
quote = "But you're not really looking for love, are you?";
break;
case 2:
quote =
"If you're looking for love, forget it. This is just a random number generator!";
break;
case 3:
quote =
"Seriously, you need a better outlet than entering your names here.";
break;
case 4:
quote = "They're not worth it, yo, you're better than this!";
break;
case 5:
quote = "Love doesn't come easy, my dear!";
break;
case 6:
quote = "Maybe you and me would be better!";
break;
default:
quote = "Wack lmao";
break;
}
message.innerText = quote;
} else {
results.innerText = results.innerText.substring(
results.innerText.length
);
message.innerText = "Enter names!";
}
}
document.addEventListener("contextmenu", function (e) {
e.preventDefault();
});