MarseyWorld/files/assets/js/underage.js

9 lines
170 B
JavaScript

let audio = new Audio(`/i/6.webp`);
audio.play();
if (audio.paused) {
document.addEventListener('click', () => {
if (audio.paused) audio.play();
}, {once : true})
}