title: open inside and outside of webview
body: <p>can you please tell me whats wrong here? i want open my website and facebook (Facebook logging plugin) in webview only. all other external link will open in other external browsers. below code allow facebook to open in external browser.</p>
  <pre><code> @Override
          public boolean shouldOverrideUrlLoading(WebView view, String url)
          {
              if (!url.contains (&quot;https://kroybook.com/')'https://facebook.com/&quot;)
              {
                  Uri uri = Uri.parse(url);
                  startActivity(Intent.createChooser(new Intent(Intent.ACTION_VIEW, uri), &quot;Choose browser&quot;));
  
                  CookieManager.getInstance().setAcceptCookie(true);
              } else {
                  myWebView.loadUrl(url);
                  return true;
              }
              return false;
          }
  </code></pre>