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.SetPrivateBrowsing
Enables private browsing.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| WebView | 9.5 | Yes | No | No | No | Yes |
MBS( "WebView.SetPrivateBrowsing"; WebViewerRef; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | "web" |
| Value | The new mode. Pass 1 to enable private browsing. Pass 0 to disable. |
1 |
Result
Returns OK or error.
Description
Enables private browsing.If enabled, no data should be stored for cookies or cache on disk, so it's cleared when web viewer is destroyed.
Default is non-private mode for the web viewer.
For WebKit 2.x, it looks like you can't change mode after web viewer was created.
Examples
Enable private browsing:
Set Variable [ $r ; Value: MBS( "WebView.SetPrivateBrowsing"; "web"; 1 ) ]
See also
Blog Entries
- New functions of the MBS Plugin Version 9.5
- Neues MBS FileMaker Plugin 9.5
- MBS FileMaker Plugin 9.5 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 9.5pr5
Release notes
- Version 9.5
- Added Webview.GetPrivateBrowsing and Webview.SetPrivateBrowsing functions.
Created 27th October 2019, last changed 5th January 2020
WebView.SetPrintParameter - WebView.SetSilent
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins