Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Set whether to allow link previews.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Webview 9.3 Yes No No No Yes
MBS( "Webview.SetAllowsLinkPreview"; WebViewerRef; Value )   More


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
Value The new value. 1


Returns OK or error.


Set whether to allow link previews.
A boolean value indicating whether link preview is allowed for any links inside this webview.
The default value is true on Mac and iOS.

Pass 1 to allow or 0 to disallow.

See also

Blog Entries

Release notes

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

Webview.RemoveScriptMessageHandler   -   Webview.SetPrivateBrowsing

Feedback: Report problem or ask question.

MBS Xojo Plugins