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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets private browsing desire.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
Value | The new setting. Pass 1 to enable private browsing or 0 to disable. |
1 |
Returns OK or error.
Try private browsing:
# enable private browsing for next Web Viewer created
Set Variable [ $r ; Value: MBS( "WebView.SetUsePrivateBrowsing"; 1 ) ]
# Load a layout with Web Viewer
Go to Layout [ “WebViewerLayout” (Test) ; Animation: None ]
# Load a website
Set Web Viewer [ Object Name: "web" ; URL: "https://www.google.com/" ]
# And give FileMaker some time to create the web viewer!
Pause/Resume Script [ Duration (seconds): ,3 ]
# Going back to default to regular data source.
Set Variable [ $r ; Value: MBS( "WebView.SetUsePrivateBrowsing"; 0 ) ]
This function checks for a license.
Created 11st June 2021, last changed 12nd June 2021