title: How to detect the url opening from web browser(chrome) or webview(mobile app) using jquery/javascript in the website?
body: <p>I can detect android easily from the website(using user agent) easily. But now the problem with detecting url being opened from webview(app) or chrome(browser) in the mobile by using jquery. This is to detect thus can apply deeplink excluding with webview. I don't really wanna do changes in mobile development site. </p>
  
  <p>When the link opening in chrome(mobile), there is no issues.. The link have a deeplink of containing app://article. When the link is opened from the webview in an app, the deeplink causing issues to display :
  err_unknown_url_scheme error</p>
  
  <p>Is there any option to detect where the link being opened and not applying deeplink in that part only. Something that can only do from website itself by using jquery only.</p>
  
  <p>Thanks and sorry for the improper explanation just now. Hopefully can help me to resolve with this. </p>