MediaWiki:Common.js: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
Nie podano opisu zmian |
m testt |
||
Linia 1: | Linia 1: | ||
$(function () { | $(function () { | ||
if (location.href.includes('3meraldK')) { | 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' | audio.type = 'audio/mpeg' | ||
window.onwheel = function () { | window.onwheel = function () { | ||
if (audio.currentTime <= 0) audio.play() | if (audio.currentTime <= 0) audio.play() | ||
} | } | ||
} | } | ||
}()) | }()) |
Wersja z 14:55, 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() } } }())