Skip to content

Instantly share code, notes, and snippets.

@cacheleocode
Last active December 16, 2015 23:09
Show Gist options
  • Save cacheleocode/5512145 to your computer and use it in GitHub Desktop.
Save cacheleocode/5512145 to your computer and use it in GitHub Desktop.
Adobe Edge Animate iBooks Author HTML Widget prevent defaults
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<title>Untitled</title>
<script>
document.addEventListener('touchstart', function (e) {e.preventDefault();}, false);
document.addEventListener('touchmove', function (e) {e.preventDefault();}, false);
document.addEventListener('touchend', function (e) {e.preventDefault();}, false);
</script>
<style type="text/css">
*
{
-webkit-touch-callout: none;
-webkit-user-select: none;
}
</style>
</head>
<body onselectstart="return false;">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment