public interface ProfilePreferences
Profile
.Modifier and Type | Method and Description |
---|---|
void |
disableAutofill()
Disables the web form autofill for the simple
input values, credit cards, and
user data. |
void |
disableCaretBrowsing()
Disables the caret browsing.
|
void |
disableNetworkPrediction()
Disables network prediction.
|
void |
enableAutofill()
Enables the web form autofill for the simple
input values, credit cards, and
user data. |
void |
enableCaretBrowsing()
Enables the caret browsing.
|
void |
enableNetworkPrediction()
Enables network prediction.
|
boolean |
isAutofillEnabled()
Returns
true if the web form autofill for the simple input values,
credit cards, or the user data is enabled. |
boolean |
isCaretBrowsingEnabled()
Returns
true if the caret browsing is enabled. |
boolean |
isNetworkPredictionEnabled()
Returns
true if network prediction (DNS prefetching, TCP and SSL pre-connection,
pre-rendering of web pages, and resource prefetching) is enabled. |
boolean isAutofillEnabled()
true
if the web form autofill for the simple input
values,
credit cards, or the user data is enabled.
By default, the autofill is enabled.
Important: the autofill for the passwords is always enabled except the cases when a site has an invalid SSL certificate or the scheme is not registered as web-safe. The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.
ObjectClosedException
- when the profile is deleted or its engine is closedvoid enableAutofill()
input
values, credit cards, and
user data.ObjectClosedException
- when the profile is deleted or its engine is closedvoid disableAutofill()
input
values, credit cards, and
user data.ObjectClosedException
- when the profile is deleted or its engine is closedboolean isCaretBrowsingEnabled()
true
if the caret browsing is enabled.
By default, the caret browsing is disabled.
ObjectClosedException
- when the profile is deleted or its engine is closedvoid enableCaretBrowsing()
The caret browsing allows using the arrow keys to browse the text on web pages.
ObjectClosedException
- when the profile is deleted or its engine is closedvoid disableCaretBrowsing()
ObjectClosedException
- when the profile is deleted or its engine is closedboolean isNetworkPredictionEnabled()
true
if network prediction (DNS prefetching, TCP and SSL pre-connection,
pre-rendering of web pages, and resource prefetching) is enabled.
By default, the preference is enabled.
ObjectClosedException
- when the profile is deleted or its engine is closedvoid enableNetworkPrediction()
ObjectClosedException
- when the profile is deleted or its engine is closedvoid disableNetworkPrediction()
ObjectClosedException
- when the profile is deleted or its engine is closed