-
Hide cursor
-
Disable context menu
-
Disable image dragging
-
Disable touch highlighting
-
Disable text selection
Caveat: these interaction adjustments will only be applied once your content is fully loaded. If you have a multi-page application, the cursor, etc. may be enabled on each page load until the content is fully loaded. Recommended solution is to develop content as single-page application and/or use the following CSS:
*{
cursor:none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}
and javascript:
window.oncontextmenu = function(){return false};
window.ondragstart = function(){return false};
Comments
0 comments
Please sign in to leave a comment.