简体   繁体   中英

How to know what version of firefox is installed?

如何使用c ++在同一台计算机上以编程方式确定多个Web浏览器(Chrome,IE和Firefox)的版本?

Where those 3 different browsers store their version information may all be different. You would have to track down those locations and read them with you application. Since you are doing this on a windows machine you may be in luck, they may all use the registry.

This might help.

Javascript Browser Detect

To detect installed browsers, you should read http://rhizohm.net/irhetoric/post/2009/04/03/0a-Finding-All-Installed-Browsers-in-Windows-XP-and-Vista-ndash3b-beware-64bit!0a-.aspx . To get their versions, simply follow the code in How to get Version of the software? . Hope this helps! :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM