WebView.HasOnlySecureContent
----------------------------

Queries whether website is secure.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [9.3](newinversion93.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "WebView.HasOnlySecureContent"; WebViewerRef ) 

**MBS**( **"WebView.HasOnlySecureContent";** /\* Queries whether website is secure. \*/  
**$WebViewerRef**) /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |

### Result

Returns 1, 0 or error.

### Description

Queries whether website is secure.  
Returns a boolean value indicating whether all resources on the page have been loaded over securely encrypted connections.  
On Windows and older WebKit 1.x, just returns whether URL is https.  
### See also

- [WebView.FindByName](WebViewFindByName.md)

### Release notes

- **Version 9.3**
    - Added [Webview.GetAllowsLinkPreview](http://www.mbsplugins.eu/WebviewGetAllowsLinkPreview.shtml), [WebView.HasOnlySecureContent](http://www.mbsplugins.eu/WebViewHasOnlySecureContent.shtml), [Webview.SetAllowsLinkPreview](http://www.mbsplugins.eu/WebviewSetAllowsLinkPreview.shtml) and [WebView.StopLoading](http://www.mbsplugins.eu/WebViewStopLoading.shtml).

### Blog Entries

- [Neues vom MBS Plugin 9.3](https://www.mbsplugins.de/archive/2019-09-13/Neues_vom_MBS_Plugin_93/monkeybreadsoftware_blog_filemaker)
- [Whats new in MBS FileMaker Plugin version 9.3](https://www.mbsplugins.de/archive/2019-08-17/Whats_new_in_MBS_FileMaker_Plu/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.3pr6](https://www.mbsplugins.de/archive/2019-07-17/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 16th July 2019 , last changed 16th July 2019

  
[WebView.GoForward](WebViewGoForward.md) - [WebView.HasParent](WebViewHasParent.md)

[HTML Version](WebViewHasOnlySecureContent.shtml)