title: WebView setJavaScriptEnabled and JavaScript on site
body: <p>I have web view in my app.
  I can see warnings in IDE.
  "Using setJavaScriptEnabled can introduce XSS vulnerabilities"
  for code</p>
  
  <pre><code>webView.getSettings().setJavaScriptEnabled(true);
  </code></pre>
  
  <p>So, after googling I have advice:
  "If your app really doesn’t require JavaScript usage within a WebView then don’t call setJavaScriptEnabled(true)"</p>
  
  <p>As I understood, I do not need to enable JS for my WebView if I do not have a need to interact with this WebView with using JS. (inject some JS in WebView and handle JS events in my Android side code). But, does this means that all JS on this website will work in my WebView. I mean, if a site contains some JS for let's say some animation. Will this animation work in my WebView without enabling of this setting.
  Thanks a lot.</p>