IBrowserSettings Interface |
Namespace: DotNetBrowser.Browser
public interface IBrowserSettings : IAutoDisposable
The IBrowserSettings type exposes the following members.
Name | Description | |
---|---|---|
AllowJavaScriptAccessClipboard |
Allows or disallows JavaScript code on the web pages loaded in the browser to access clipboard.
| |
AllowLoadingImagesAutomatically |
Allows or disallows loading images automatically on the web pages loaded in the browser.
| |
AllowRunningInsecureContent |
Allows or disallows running an insecure content in the browser.
| |
AllowScriptsToCloseWindows |
Allows or disallows JavaScript code on the web pages loaded in the browser to close the browser.
| |
DefaultBackgroundColor |
Gets or sets the default browser background color.
| |
DefaultEncoding |
Gets or sets the default text encoding.
| |
DefaultFontSize |
Gets or sets the default browser font size.
| |
ImagesEnabled |
Enables or disables images displaying on the web pages loaded in the browser.
| |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
JavaScriptEnabled |
Enables or disables JavaScript on the web pages loaded in the browser.
| |
LocalStorageEnabled |
Enables or disables the local storage in the browser.
| |
OverscrollHistoryNavigationEnabled |
Enables or disables the back/forward navigation with a left/right swipe in the browser.
| |
PluginsEnabled |
Enables or disables plugins on the web pages loaded in the browser.
| |
PreferredColorScheme |
Gets or sets the preferred color scheme for the web content in the browser.
| |
ScrollbarsHidden |
Hides or shows scrollbars on the web pages.
| |
TransparentBackgroundEnabled |
Enables or disables transparent background on the web pages.By default, the background is always
opaque.
| |
WebRtcIpHandlingPolicy |
Gets or sets the WebRTC IP handling policy for the browser.
|
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |