remove safari audio blop "hack" as it should not completely stop music that is playing in the background

This commit is contained in:
schlagmichdoch 2023-03-01 03:15:56 +01:00
parent eda60a3d78
commit 7b08973cef
2 changed files with 0 additions and 12 deletions

View file

@ -1791,9 +1791,3 @@ Notifications permission has been blocked
as the user has dismissed the permission prompt several times.
This can be reset in Page Info
which can be accessed by clicking the lock icon next to the URL.`;
document.body.onclick = _ => { // safari hack to fix audio
document.body.onclick = null;
if (!(/.*Version.*Safari.*/.test(navigator.userAgent))) return;
blop.play();
}

View file

@ -1792,9 +1792,3 @@ Notifications permission has been blocked
as the user has dismissed the permission prompt several times.
This can be reset in Page Info
which can be accessed by clicking the lock icon next to the URL.`;
document.body.onclick = _ => { // safari hack to fix audio
document.body.onclick = null;
if (!(/.*Version.*Safari.*/.test(navigator.userAgent))) return;
blop.play();
}