MediaWiki:Common.js: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
tetstesse |
m testsetsetse |
||
Linia 3: | Linia 3: | ||
var audio = new Audio('https://ia801505.us.archive.org/14/items/WykopJanPawelIIJebalMaleDzieciAmbientVersion/Wykop%20-%20Jan%20Pawe%C5%82%20II%20jeba%C5%82%20ma%C5%82e%20dzieci%20%28Ambient%20Version%29.mp3'); | var audio = new Audio('https://ia801505.us.archive.org/14/items/WykopJanPawelIIJebalMaleDzieciAmbientVersion/Wykop%20-%20Jan%20Pawe%C5%82%20II%20jeba%C5%82%20ma%C5%82e%20dzieci%20%28Ambient%20Version%29.mp3'); | ||
audio.type = 'audio/mpeg'; | audio.type = 'audio/mpeg'; | ||
window.onwheel = function () { | |||
if (audio.currentTime <= 0) audio.play(); | |||
}; | |||
} | } | ||
}()); | }()); |
Wersja z 14:56, 4 wrz 2023
$(function () { if (location.href.includes('3meraldK')) { var audio = new Audio('https://ia801505.us.archive.org/14/items/WykopJanPawelIIJebalMaleDzieciAmbientVersion/Wykop%20-%20Jan%20Pawe%C5%82%20II%20jeba%C5%82%20ma%C5%82e%20dzieci%20%28Ambient%20Version%29.mp3'); audio.type = 'audio/mpeg'; window.onwheel = function () { if (audio.currentTime <= 0) audio.play(); }; } }());