from Tim Dietrich
You can use HTMLViewer’s ExecuteJavaScriptSync method to access the Navigator interface, and pass it this: navigator.userAgent
That will return something like this:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Other interesting things that you can get from the navigator object include:
• The platform, via: navigator.platform → ex: MacIntel
• The language, via: navigator.language → en-US
• The browser’s online status, via: navigator.onLine → 1 (true), 0 (false)
I hope that helps.