function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Browser check

Does anyone have any ideas for how to check what browser and version is being used while rendering a visualforce page?



Best Answer chosen by Admin (Salesforce Developers) 
you should use javascript for this.

<script type="text/javascript"> var browser=navigator.appName; var b_version=navigator.appVersion; var version=parseFloat(b_version); document.write("Browser name: "+ browser); document.write("<br />"); document.write("Browser version: "+ version); </script>