I’m developing a Chrome extension and I’m wondering is there a way that I can detect which version of Chrome the user is using?
Share
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.
Get major version of Chrome as an integer:
I’ve updated the original answer, so that it does not throw an exception in other browsers, and does not use deprecated features.
You can also set
minimum_chrome_versionin the manifest to not let users with older versions install it.