Hamster Dance Hell

Make it hurt.

by MegaScience

CSS

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

JavaScript

const createHell = (() => {
  const audioHell = new Audio('http://web.archive.org/web/20010602165341/http://www.hamsterdance.com:80/originaldedodedo.wav')
  audioHell.volume = 0.10
  //audioHell.loop = true
  //return () => {
  //  if (audioHell.paused) audioHell.play()
  //  else console.log('Ongoing hell.')
  //}
  //return () => audioHell.paused && audioHell.play()
  return () => audioHell.play()
})()

document.body.addEventListener('mouseover', createHell)

/*const createHell = () => {
	const audioHell = new Audio('http://web.archive.org/web/20010602165341/http://www.hamsterdance.com:80/originaldedodedo.wav')
	audioHell.volume = 0.10
	audioHell.loop = true
	audioHell.play()
  setTimeout(() => audioHell.setAttribute('src', ''), 10000)
}*/
//document.body.onmouseover = createHell
//<audio autoplay loop src="http://web.archive.org/web/20010602165341/http://www.hamsterdance.com:80/originaldedodedo.wav"/>