Platforms to show: All Mac Windows Linux Cross-Platform

WKWebViewControlMBS.AcceptTabs as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the control should accept tab keys.
Notes:
If true, the plugin will not forward the tab keydown/keyup events to Xojo, because Xojo would do switch to next control.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.allowFileAccessFromFileURLs as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 18.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Allow file access for file URLs.
Example:
Dim browser As WKWebViewControlMBS // your instance

browser.allowFileAccessFromFileURLs = True
Notes:
Access to files is allowed for some files.
Please check WebKit documentation for details.

Set allowFileAccessFromFileURLs and allowUniversalAccessFromFileURLs to true to disable all the security checks to block local file access for websites. allowUniversalAccessFromFileURLs would allow all file URLs. allowFileAccessFromFileURLs would only allow in same path.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.allowsBackForwardNavigationGestures as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations.
Example:
Dim browser As WKWebViewControlMBS // your instance

browser.allowsBackForwardNavigationGestures = True
Notes:
The default value is false.
Available for 64-bit on macOS 10.10 or newer.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.allowsLinkPreview as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value that determines whether pressing on a link displays a preview of the destination for the link.
Example:
Dim browser As WKWebViewMBS // your instance

browser.allowsLinkPreview = True
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.allowsMagnification as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether magnify gestures will change the web view’s magnification.
Example:
Dim browser As WKWebViewMBS // your instance

browser.allowsMagnification = True
Notes:
The default value is false. You can set the magnification property even if allowsMagnification is set to false.
For MacOS 64-bit only.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.allowUniversalAccessFromFileURLs as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 18.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Allow universal file access for URLs.
Notes:
Any file URL will be loaded if true.
Please check WebKit documentation for details.

Does not work in MacOS 10.14.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.backForwardList as WKBackForwardListMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 20.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The web view's back-forward list.
Notes: (Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.CanGoBack as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether there is a back item in the back-forward list that can be navigated to.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox "CanGoBack: "+If(Browser.CanGoBack, "yes", "no")
Notes: (Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.CanGoForward as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether there is a forward item in the back-forward list that can be navigated to.
Example:
'Dim browser As WKWebViewControlMBS // your instance

MsgBox "CanGoForward: "+If(Browser.CanGoForward, "yes", "no")
Notes: (Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.customUserAgent as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The custom user agent string.
Example:
Dim browser As WKWebViewControlMBS // your instance

browser.customUserAgent = "MyBrowser/1.0"
Notes:
If no custom user agent string has been set, this is set to "".
Available in 32-bit. Available in 64-bit for macOS 10.11 or newer.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.developerExtrasEnabled as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether developer extras are enabled.
Example:
Dim browser As WKWebViewControlMBS // your instance

// enable context menu entry to show developer extras
browser.developerExtrasEnabled = True
Notes:
For WebKit 2 (64bit) to enable the context menu to inspect items.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.EstimatedProgress as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: An estimate of what fraction of the current navigation has been loaded.
Notes:
This value ranges from 0.0 to 1.0 based on the total number of bytes expected to be received, including the main document and all of its potential subresources. After a navigation loading completes, the estimatedProgress remains at 1.0 until a new navigation starts, at which point the estimatedProgress is reset to 0.0.
(Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.hasOnlySecureContent as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether all resources on the page have been loaded through securely encrypted connections.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox "hasOnlySecureContent: "+If(Browser.hasOnlySecureContent, "yes", "no")
Notes:
Only set for 64-bit, always false on 32-bit.
(Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.IsLoading as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether the view is currently loading content.
Example:
Dim browser As WKWebViewControlMBS // your instance

// load a page
browser.LoadURL "https://www.mbs-plugins.de"

// wait synchronously for website loading
While browser.IsLoading
DelayMBS 0.1
Wend

MsgBox "loaded"
Notes: (Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.javaEnabled as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether java is enabled.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox "JavaScript Enabled: "+If(Browser.javaEnabled, "yes", "no")
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.javaScriptCanOpenWindowsAutomatically as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether javascript can open new windows.
Example:
Dim browser As WKWebViewControlMBS // your instance

// disable popup windows
Browser.javaScriptCanOpenWindowsAutomatically = False
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.javaScriptEnabled as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether javascript is enabled.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox "JavaScript Enabled: "+If(Browser.javaScriptEnabled, "yes", "no")
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.loadsImagesAutomatically as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether to load images automatically.
Example:
Dim browser As WKWebViewControlMBS // your instance

// disable loading of images
browser.loadsImagesAutomatically = False#
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.magnification as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The factor by which the page content is currently scaled.
Example:
Dim browser As WKWebViewControlMBS // your instance

browser.magnification = 2.0
Notes:
The default value is 1.0.
For MacOS 64-bit only.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.minimumFontSize as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The minimum font size to use.
Example:
Dim browser As WKWebViewControlMBS // your instance

browser.minimumFontSize = 20
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.Navigation as WKNavigationMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 20.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The current navigation action.
Notes: (Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.plugInsEnabled as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 17.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether plugins are enabled.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox "plugInsEnabled: "+If(Browser.plugInsEnabled, "yes", "no")
Notes: (Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.privateBrowsing as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 19.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether private browsing is enabled.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox "privateBrowsing: "+If(Browser.privateBrowsing, "yes", "no")
Notes:
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.
So use UsePrivateBrowsing there.
(Read and Write property)

Feedback, Comments & Corrections

WKWebViewControlMBS.Title as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The page title.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox Browser.Title
Notes: (Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.URL as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The active URL.
Example:
Dim browser As WKWebViewControlMBS // your instance

MsgBox Browser.URL
Notes:
This is the URL that should be reflected in the user interface.
(Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.View as NSViewMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The used view.
Notes:
Should be either a WebView (32bit) or WKWebView (64bit).
(Read only property)

Feedback, Comments & Corrections

WKWebViewControlMBS.WKWebView as WKWebViewMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 20.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The used WKWebViewMBS view.
Notes:
Always a WKWebViewMBS in 64-bit, but nil for 32-bit applications.
(Read only property)

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Mac64bit Plugin.

The biggest plugin in space...




Links
MBS Xojo PDF Plugins

Start Chat