Platforms to show: All Mac Windows Linux Cross-Platform
Back to WKPreferencesMBS class.
WKPreferencesMBS.crossOriginResourcePolicyEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Disabling some cross policy checks may allow JavaScript to access a website loaded in a frame.
Default is true.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.defaultFontSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
Some examples using this property:
WKPreferencesMBS.developerExtrasEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Set to true, so you can inspect elements via contextual menus.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.ElementFullscreenEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 23.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value for this preference is false.
Requires macOS 12.3 or newer.
(Read and Write property)
WKPreferencesMBS.FraudulentWebsiteWarningEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is true. This feature is currently available in the following region: China.
(Read and Write property)
WKPreferencesMBS.fullScreenEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Default is false.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read only property)
WKPreferencesMBS.javaEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is false.
Deprecated for macOS 10.15.
(Read and Write property)
WKPreferencesMBS.javaScriptCanOpenWindowsAutomatically as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is false in iOS and true in macOS.
(Read and Write property)
WKPreferencesMBS.javaScriptEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is true. Setting this property to false disables JavaScripts that are loaded or executed by the web page. This setting does not affect user scripts. See WKUserScriptMBS class.
(Read and Write property)
WKPreferencesMBS.loadsImagesAutomatically as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
WKPreferencesMBS.logsPageMessagesToSystemConsoleEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Default is false.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.mediaDevicesEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Default is false.
You may need to enable mediaStreamEnabled and mediaDevicesEnabled together to allow WebRTC. Also you need permissions to access camera and microphone via AVFoundation functions.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.mediaStreamEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Default is false.
You may need to enable mediaStreamEnabled and mediaDevicesEnabled together to allow WebRTC. Also you need permissions to access camera and microphone via AVFoundation functions.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.minimumFontSize as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is 0.
(Read and Write property)
WKPreferencesMBS.plugInsEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is false.
Deprecated for macOS 10.15.
(Read and Write property)
WKPreferencesMBS.shouldPrintBackgrounds as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
WKPreferencesMBS.siteSpecificQuirksModeEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 23.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value for this preference is true.
Requires macOS 12.3 or newer.
(Read and Write property)
WKPreferencesMBS.standardFontFamily as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
WKPreferencesMBS.tabFocusesLinks as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Option key temporarily reverses this preference.
(Read and Write property)
WKPreferencesMBS.telephoneNumberDetectionIsEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Default is false.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
WKPreferencesMBS.TextInteractionEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Requires macOS 12.0 or iOS 15.0 or newer.
(Read and Write property)
WKPreferencesMBS.webSecurityEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 21.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Default is true.
This property is included in the WebKit project, but not documented by Apple, so use with care and be aware that it may break in future (or gets officially documented in a future version of macOS).
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.
