title: Google chrome - disable pinch zoom
body: <p>I have a kiosk in train station public place and in airport.</p>
  
  <p>Random people needs to use the touch screen application which is running on Google chrome. When the user apply unpinch or pinch action on Google chrome 
   then Google chrome makes abnormal zoomed in screen and leaves the screen zoomed in forever, and then i get call that my application do not work.</p>
  
  <p><a href="https://i.stack.imgur.com/2BDFS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2BDFS.png" alt="enter image description here"></a></p>
  
  <p>Using <code>chrome://flags/#enable-pinch</code> in past Google chrome was able to kill the pinch but now in new version they removed that feature also following options none of them works anymore like it used to work in past with``chrome://flags/#enable-pinch`</p>
  
  <p><code>chrome://flags/#touch-events</code> - if i disable this it disable whole touch inputs on Google chrome</p>
  
  <p><code>&lt;meta name="viewport" content="width=device-width, user-scalable=no"&gt;</code> - if i apply this it has no effect on Google chrome, still pinch/unpinch attacks occure</p>
  
  <p>Therefore, i kept trying all other possible way to resolve it</p>
  
  <p><a href="https://i.stack.imgur.com/mtJdZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mtJdZ.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/uJY0F.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uJY0F.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/KvHGZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KvHGZ.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/Feq7Q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Feq7Q.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/TzDyk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/TzDyk.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/84RTx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/84RTx.png" alt="enter image description here"></a></p>
  
  <p>I am pulling all my hair out because all options are failing.</p>
  
  <p>Can anyone please advise how to resolve it? How do i absolutely disable the pinch/unpinch on Google chrome or on whole operating system? I also tried control panel but none of the control panel showing an option where it says disable pinch/unpinch attacks.</p>
  
  <pre><code>// Dear God, please give me a Pinch disable option for, Google chrome. Its a nightmare, nothing stops pinch zoom actions.
  window.addEventListener("touchstart", touchHandler, false);
  function touchHandler(event){
      if(event.touches.length &gt; 1){
        console.log("pinch "); // detected
        window.location.reload();// detected
        try {
          event.preventDefault(); // FAIL FAIL FAIL FAILLLLLLLL ???????????
          return false;
        }catch(eee) {
        }
      }
      else {
        console.log("pinch not");//detected
      }
  }
  </code></pre>