title: Reset zooming in (pinch) android tablet browser (google chrome) using javascript, html
body: <p>On a html page opened with google chrome on android tablet, i need to catch
  that user has done some zoom in (pinch in) and reset it to default after some seconds. (zoom out to default screen size. but i do not want totally prevent zooming, i want allow it, but after some time i want to reset zooming automatically).</p>
  
  <p>catching that user has done some zoom is ok, we can check the screenheight, screenwidth by</p>
  
  <pre><code>function getScreenHeight() {
      if (typeof window.innerWidth != 'undefined') {
          return window.innerHeight;
      } else if (typeof document.documentElement != 'undefined'
          &amp;&amp; typeof document.documentElement.clientWidth != 'undefined'
          &amp;&amp; document.documentElement.clientWidth != 0) {
          return document.documentElement.clientHeight;
      } else {
         return document.getElementsByTagName('body')[0].clientHeight;
      }
  }
  </code></pre>
  
  <p>But to reset it to default, i tried the following code, which works in ipad (safari) but nothing happens on android tablet (google chrome)</p>
  
  <pre><code>function _resetResize() {
      var viewport = document.getElementById('ViewPort');
  
      viewport.content = 'width=device-width, minimum-scale=1.0, maximum-  scale=1.0';
      setTimeout(function() {
          viewport.content = '';
      },10);
  }
  </code></pre>