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.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  

WebView.SetInternetExplorerVersion

Sets the Internet Explorer version to use for web viewer.

Component Version macOS Windows Linux Server iOS SDK License
WebView 6.4 ❌ No ✅ Yes ❌ No ❌ No ❌ No Paid
MBS( "WebView.SetInternetExplorerVersion"; Version )   More

Parameters

Parameter Description Example
Version The version to use.
Set to zero to go back to default.
11000

Result

Returns OK or error.

Description

Sets the Internet Explorer version to use for web viewer.
By default FileMaker uses IE7 for the web viewer, even if you have version 11 enabled.

ValueDescription
11001Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks.
11000IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11.
10001Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive.
10000Internet Explorer 10. Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. Default value for Internet Explorer 10.
9999Windows Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks.
9000Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode. Default value for Internet Explorer 9. In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode.
8888Webpages are displayed in IE8 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks.
8000Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode. Default value for Internet Explorer 8. In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode.
7000Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode. Default value for applications hosting the WebBrowser Control.

In a test on Windows 10, we get by default this browser version:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)

and with setting it to 11000, we get this:

Mozilla/5.0 (Windows NT 6.2; Win64; x64; Trident/7.0; rv:11.0) like Gecko

You may also use WebView.PostURL to load a website and pass a different User Agent string.

FileMaker 16 defaults to Internet Explorer 11.
See also WebView.SetInternetExplorerHiDPI.

Examples

Set version to IE 11:

Set Variable [ $r; Value: MBS( "Webview.SetInternetExplorerVersion"; 11000 ) ]

See also

Release notes

Blog Entries

Created 20th September 2016, last changed 12nd March 2022


WebView.SetInternetExplorerHiDPI - WebView.SetMediaVolume

Feedback: Report problem or ask question.


Start Chat