Web settings More...
Import Statement: | import com.canonical.Oxide 1.15 |
Instantiates: | OxideQWebPreferences |
WebPreferences contains a collection of settings for a webview.
Whether to disable same-origin restrictions between file: URLs. The default is false.
By default, unique file: URLs are treated as unique origins for the purposes of the Same-origin policy. Enabling this causes all file: URLs to be treated as a single origin.
Note: This is a dangerous option and should generally not be used in production code. Application developers should think carefully before enabling this option to ensure that they are fully aware of its consequences. This option should never be enabled in web browsers.
Whether web content can request to close a window via window.close. The default is false.
Note: Web content can always request to close windows that were opened by it via window.open(), regardless of this preference.
Whether to disable same-origin restrictions for pages loaded via file: URLs. The default is false.
Note: This is a dangerous option and should generally not be used in production code. Application developers should think carefully before enabling this option to ensure that they are fully aware of its consequences. This option should never be enabled in web browsers.
Whether to allow the display of passive mixed content. The default is true.
Passive mixed content includes images and videos loaded over an insecure connection in to a page that was loaded over a secure connection. Passive mixed content can't access other parts of a web page or change the behaviour of it, but an attacker could replace the content a user sees or otherwise infer the user's browsing habits because the connections aren't private.
Whether to allow the execution of active mixed content. The default is false.
Active mixed content includes CSS and scripts loaded over an insecure connection in to a page that was loaded over a secure connection. Because active mixed content can change the behaviour of a page and steal sensitive information, it compromises the security of a page entirely.
Whether to enable caret browsing. The default is false.
When caret browsing is enabled, the content of a web page can be navigated using the keyboard.
The default character set, used for pages that don't define a character set.
The default fixed font family for characters from the Unicode Common script.
The default value is dependent on the system's font configuration.
Whether to notify the URLs specified by the ping attribute when a user clicks on an anchor element. The default is true.
Whether javascript can use the various clipboard related editing commands via document.execCommand(). The default is false.
Whether to load images automatically when a page loads. The default is true.
If this is set to false, images aren't loaded when a page loads, and image elements are replaced by a placeholder.
Whether password echo is enabled. The default is false.
When password echo is enabled, actual characters are displayed when a user inputs text in to an <input type="password"> element.
The default Sans Serif font family for characters from the Unicode Common script.
The default value is dependent on the system's font configuration.
The default Serif font family for characters from the Unicode Common script.
The default value is dependent on the system's font configuration.
The default standard font family for characters from the Unicode Common script.
The default value is dependent on the system's font configuration.
Whether HTML anchor elements are keyboard focusable by pressing the TAB key. The default is true.