Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--Disable touch zooming, mobile scrolling, and right click on desktop-->
- <body id="root" style="touch-action: none; overflow: hidden; overscroll-behavior-y: contain; position: fixed;" oncontextmenu="return false">
- <noscript>You need to enable JavaScript to run this app.</noscript>
- </body>
- <footer>
- <!-- Prevent mobile scrolling/refreshing -->
- <script>
- document.addEventListener('touchmove', function(e) {
- e.preventDefault();
- }, { passive: false });
- </script>
- </footer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement