79116990

Date: 2024-10-23 08:12:44
Score: 1
Natty:
Report link

It's enough (to disable swipes) only with this code line in .js file:

window.addEventListener("touchmove", function (e) {
    e.preventDefault();
}, { passive: false });

P.S. Tested only on Chrome.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Norman