Possible Duplicate:
Detect inside Android Browser or WebView
i want to detect whether the web page is opened in ios web view or in other extenal sample browser. how to check this on javascript code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at the user-agent, there should be differences – notably, non-webview mobile devices explicitly mention Safari. The following question has some sample code that you can use to detect the difference.
detect ipad/iphone webview via javascript