prevent mac to go back on scroll code example Example: prevent mac to go back on scroll /* Working on macOS at least */ body { overscroll-behavior: none; }