title: Detect android webview
body: <p>I have an <code>html-javascript</code> page, and I need to detect whenever it open on web view (Like inside facebook webview, twitter webview, etc.), and if it a webview - display another content.</p>
  
  <p><strong>Note:</strong> I do not control the third-party Android apps, so I cannot make changes to their code. </p>
  
  <p>I already found a way to detect an IOS webview (Found it on stackoverflow): </p>
  
  <p><code>var isIosWebview =/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent)</code></p>
  
  <p>Now I'm looking for a javascript code that can detect Android web view.</p>
  
  <p>Help?</p>