|
|
|
@ -37,9 +37,13 @@ function html5_responsive_insert_head_css($flux) {
|
|
|
|
|
// Bloquer zoom, bloquer slide "back" |
|
|
|
|
$flux .= "<style> |
|
|
|
|
html {touch-action:none;} |
|
|
|
|
html, body {overscroll-behavior-x: none;} |
|
|
|
|
html, body {overscroll-behavior-x: none;} |
|
|
|
|
</style> |
|
|
|
|
<script> |
|
|
|
|
document.addEventListener('DOMContentLoaded', function(){ |
|
|
|
|
var allImages = document.getElementsByTagName('img'); |
|
|
|
|
for (element of allImages) { element.draggable = false; } |
|
|
|
|
}, false); |
|
|
|
|
window.addEventListener('contextmenu', function (e) { e.preventDefault(); }, false); |
|
|
|
|
</script>"; |
|
|
|
|
} |
|
|
|
|