Last active
July 24, 2020 17:52
-
-
Save nguyenDalex/3a4c90bec1154ebe17b7ab4026aa4a2b to your computer and use it in GitHub Desktop.
Kiosk CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Disable text select */ | |
body{ | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Disables right click contextMenu | |
*/ | |
document.oncontextmenu = () => return false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment