title: Alternate Solution for setJavaScriptEnabled(true);
body: <p>I have developed an Android Application which uses Webview Component. I have used following line into my code,</p>
  
  <pre><code>webViewScores.getSettings().setJavaScriptEnabled(true);
  </code></pre>
  
  <p>Due to this line it is showing Lint warning as <code>Using setJavaScriptEnabled can introduce XSS vulnerabilities into you application, review carefully.</code> Now I know that I can suppress this warning by  writing this line <code>@SuppressLint("SetJavaScriptEnabled")</code> above my method or at class level. But my question is, Is there any alternate solution for this ? I means is there any other way we can set Java Script Enabled in Webview ?</p>