-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperlink-blocked.html
More file actions
119 lines (110 loc) · 4.38 KB
/
hyperlink-blocked.html
File metadata and controls
119 lines (110 loc) · 4.38 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
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>[[Hyperlink Blocked]]</title>
<style>
@font-face {
font-family: 'Determination Mono';
src: url('/assets/fonts/determinationmono.ttf') format('truetype');
}
body{
font-family: 'Determination Mono', monospace;
font-size: 2em;
background-color: black;
color: white;
}
a{
color: yellow;
}
a::before{
content: "";
opacity: 0;
padding-left: 0;
transition: padding-left 0.1s, opacity 0.1s;
}
a:hover::before{
content: "";
opacity: 1;
padding-left: 24px;
background-image: url("assets/hyperlink-blocked/spr_heart/0.png");
image-rendering: pixelated;
background-repeat: no-repeat;
background-position: 0px 10px;
}
</style>
</head>
<body>
<!---->
<noscript>
* JAVASCRIPT IS [[Required]] TO [[Having interactions?]] WITH THIS WEBSITE!<br>
* ENABLE IT, YOU LITTLE [[Weakling!]]<br>
* THEN I'LL SHOW YOU MY<br>
* THEN I'LL SHOW YOU MY<br>
* [[Hyperlink Blocked]]
</noscript>
<span class="dialogue"></span><br>
<a class="nextbutton" href="javascript:void(0);">Proceed Anyways</a>
<script>
var DIALOGUES = [
"* THIS WEBSITE HAS BEEN [[Hyperlink Blocked]]",
"* YOU [Little Sponge]! THiS WEBSITE IS [[Under Constructin]]!\n* GO PLAY [Minecrap] OR SOMETHING!!!"
]
var currentDialogue = 0;
var nextButton = document.querySelector(".nextbutton")
nextButton.onclick = function(){
menuSelect.currentTime = 0;
menuSelect.play();
currentDialogue++
dialogue(DIALOGUES[currentDialogue])
nextButton.style.display = "none"
if (currentDialogue == 0 ) {
nextButton.innerText = "Proceed Anyways"
} else if (currentDialogue == 2) {
currentDialogue--;
window.location = "https://minecraft.net"
} else {
nextButton.innerText = "Play Minecrap"
}
if (currentDialogue == 1 ){
introMusic.pause()
meetingMusic.play()
}
}
var introMusic = new Audio('/assets/hyperlink-blocked/spamton_meeting_intro.ogg');
introMusic.loop = true;
introMusic.play();
var meetingMusic = new Audio('/assets/hyperlink-blocked/spamton_meeting.ogg')
meetingMusic.loop = true;
var spamtonDialogue = new Audio('/assets/hyperlink-blocked/spamton_speaking.wav');
var menuMove = new Audio('/assets/hyperlink-blocked/snd_menumove.wav');
var menuSelect = new Audio('/assets/hyperlink-blocked/snd_select.wav');
nextButton.addEventListener("mouseover",function(){
menuMove.currentTime = 0;
menuMove.play();
})
function dialogue(text){
nextButton.style.display = "none"
let dial = document.querySelector(".dialogue")
let i = 0;
let dialogueprinted = "";
let interval = setInterval(function(){
if (i >= text.length) {
clearInterval(interval);
if (true/*currentDialogue+1 != DIALOGUES.length*/){
nextButton.style.display = "initial"
}
} else {
dialogueprinted += text[i]
dial.innerText = dialogueprinted
if (i%2 == 1)
if (text[i] != " ") spamtonDialogue.cloneNode().play();
}
i++;
console.log(i)
}, 1000/30)
}
dialogue(DIALOGUES[currentDialogue])
</script>
</body>
</html>