Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>Touch pop-up blocker teting</title>
</head>
<body>
  <div id=b3 class=box>
  window.open on touchstart
  </div>
  <div id=b4 class=box>
  window.open on touchmove
  </div>
  <div id=b1 class=box>
  window.open on touchend
  </div>
  <div id=b2 class=box>
  window.open on touchend<br>
  cancels all touch events
  </div>
  <div id=b5 class=box>
  window.open on touchend<br>
  disables scrolling with touch-action
  </div>
  
  <div id=log></div>
</body>
</html>
 
body {
  height: 9000px;
}
.box {
  min-height: 50px;
  border: 1px solid blue;
  margin: 10px;
  padding: 10px;
}
#log {
  overflow: scroll;
  height: 200px;
  border: 1px solid black;
  margin: 10px;
  padding: 10px;
}
#b5 {
  touch-action: none;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
rbyerspro
0viewers