setto.basspistol.com/assets/js/zafari.js
2020-08-11 14:47:20 +02:00

8 lines
256 B
JavaScript

var zafari = document.getElementById("zafari");
if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
zafari.classList.add("zafariClass");
}
function youMadBro() {
zafari.classList.remove("zafariClass");
}