Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

WebView.GetCustomUserAgent

Queries the current custom user agent string.

Component Version macOS Windows Linux Server iOS SDK
WebView 2.9 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "WebView.GetCustomUserAgent"; WebViewerRef )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. "web"

Result

Returns current user agent text or error.

Description

Queries the current custom user agent string.
Use WebView.SetCustomUserAgent to set it.

Add iOS with version 9.3.

See also

Blog Entries

Created 18th August 2014, last changed 15th July 2019


WebView.GetAutoResizingMask - WebView.GetEditable

Feedback: Report problem or ask question.