Hopefully this works, can't test
This commit is contained in:
parent
3e8d8939e2
commit
4624d8f9bf
|
@ -11,5 +11,24 @@
|
|||
<br>
|
||||
<p class='blacknds'>I'm just trying to be scary. Thanks to amolith for making <a class='blacknds' href='https://git.nixnet.xyz/Amolith/dotfiles#dr-smith-a-custom-font'>Dr. Smith</a></p>
|
||||
</div>
|
||||
<div height=0% width=0% id='gaster'></div>
|
||||
<script>
|
||||
// https://www.sitepoint.com/delay-sleep-pause-wait/
|
||||
function sleep(milliseconds) {
|
||||
var start = new Date().getTime();
|
||||
for (var i = 0; i < 1e7; i++) {
|
||||
if ((new Date().getTime() - start) > milliseconds){
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log('here u go');
|
||||
console.log(new Date());
|
||||
sleep(5000);
|
||||
console.log('there');
|
||||
// https://undertale.fandom.com/wiki/File:Mus_st_him.ogg
|
||||
let g = '<audio id="ogg_player_1_obj" width="200" height="35" src="https://vignette.wikia.nocookie.net/undertale/images/a/a2/Mus_st_him.ogg/revision/latest?cb=20160108094830" autoplay="true" controls=""></audio>';
|
||||
document.getElementById('gaster').innerHTML = g;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue