WebView.GetAllowsLinkPreview
----------------------------

Whether to allow link previews.

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

MBS( "WebView.GetAllowsLinkPreview"; WebViewerRef ) 

**MBS**( **"WebView.GetAllowsLinkPreview";** /\* Whether to allow link previews. \*/  
**$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

Whether to allow link previews.  
A boolean value indicating whether link preview is allowed for any links inside this web view.  
The default value is true on Mac and iOS.  
  
Returns 1 if allowed or 0 if disallowed.  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.SetAllowsLinkPreview](WebViewSetAllowsLinkPreview.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 4th June 2020

  
[WebView.FormSubmit](WebViewFormSubmit.md) - [WebView.GetAutoResizingMask](WebViewGetAutoResizingMask.md)

[HTML Version](WebviewGetAllowsLinkPreview.shtml)