title: Webview: block JavaScript popups
body: <p>Right now I'm using this line of code to at least try to block popups by <code>JavaScript</code> in <code>webview</code>:</p>
  
  <p><code>webview.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);</code></p>
  
  <p>1) I don't get it why I have to switch this to "true" that it's working<br/>
  2) are there any other techniques for blocking popups in webview?</p>
  
  <p>Help is much appreciated.</p>