
CHROME EXTENSION FOR KNOTES OPTIONS WINDOWS
Regular windows use the settings determined by the lower layers (command-line options and system settings).

You can use the get() function to determine whether your extension is capable of providing a setting or whether this setting would be overridden.Īs discussed above, Chrome allows using different settings for regular windows and incognito windows.

For these, they override regular and incognito_persistent settings. incognito_session_only Settings set in the incognito_session_only scope apply only to incognito windows. These settings are stored to disk and remain in place until they are cleared by the governing extension, or the governing extension is disabled or uninstalled. For these, they override regular settings. incognito_persistent Settings set in the incognito_persistent scope apply only to incognito windows.

# Scope and life cycleĬhrome distinguishes between three different scopes of browser settings: regular Settings set in the regular scope apply to regular browser windows and are inherited by incognito windows if they are not overwritten. The proxy settings examples demonstrate how these functions are intended to be used. The ChromeSetting prototype provides a common set of functions ( get(), set(), and clear()) as well as an event publisher ( onChange) for settings of the Chrome browser.
