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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
WebView.AllowsAnyHTTPSCertificateForHost
Allows a certain host to allow use of any HTTP certificates.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| WebView | 6.2 | Yes | No | No | Yes, macOS only | No |
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/"]
Blog Entries
- Neues MBS FileMaker Plugin 9.3 - Über 5900 Funktionen in einem Plugin
- MBS FileMaker Plugin 9.3 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 9.3pr5
- MBS FileMaker Plugin 6.2 for OS X/Windows
- Webviewer certificate overwrite
- MBS FileMaker Plugin, version 6.2pr10
Release notes
- Version 9.3
- Implemented WebView.AllowsAnyHTTPSCertificateForHost for WebKit 2.x, so it works in FileMaker 16 and newer.
Created 19th May 2016, last changed 28th June 2019
WebView.AllCookies - WebView.CallFunction
Feedback: Report problem or ask question.
Links
MBS Xojo blog