title: How to detect internet connection type using java script?
body: <p>In web based application, I am using JSP and servlets. When user will access the application from his computer than user should aware that what connection he/she is using. How can i detect the user's internet connection type and show it on the page ?</p>
  
  <p>Actually, I want to detect connection type i.e. whether user is using proxy or direct(using USB modem) internet.</p>
  
  <p>Is there any possibility to check this using java-script ? If not then what are the possible ways to do this?</p>