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.AllowsAnyHTTPSCertificateForHost

Allows a certain host to allow use of any HTTP certificates.

Component Version macOS Windows Linux Server iOS SDK
WebView 6.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "WebView.AllowsAnyHTTPSCertificateForHost"; Hostname )   More

Parameters

Parameter Description Example
Hostname The hostname to allow. "www.macsw.de"

Result

Returns OK or error.

Description

Allows a certain host to allow use of any HTTP certificates.
Sometimes you have to load a website where the SSL Zertifikate ist not for the given domain.
With putting a domain on the exception list, we can allow loading the given site.

Supported for WebKit 2.x (FileMaker 16 Mac) with MBS Plugin 9.3 or newer.

Examples

Allow some domains and load website:

Set Variable [$r; Value:MBS("Webview.AllowsAnyHTTPSCertificateForHost"; "macsw.de")]
Set Variable [$r; Value:MBS("Webview.AllowsAnyHTTPSCertificateForHost"; "www.macsw.de")]
Set Web Viewer [Object Name: "web"; URL: "https://www.macsw.de/plugin/Prerelease/"]

Release notes

Blog Entries

Created 19th May 2016, last changed 13th May 2021


WebView.AllCookies - WebView.CallFunction

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos

Start Chat