- Advanced settings·续1
- cacheStorageAPI
- cacheStorageCompression
- cloudStorageCompression
- cnameIgnore1stParty
- cnameIgnoreExceptions
- cnameIgnoreList
- cnameIgnoreRootDocument
- cnameMaxTTL
- cnameReplayFullURL
- cnameUncloakProxied
- consoleLogLevel
- debugScriptlets
- debugScriptletInjector
- disableWebAssembly
- dnsCacheTTL
- dnsResolveEnabled
- extensionUpdateForceReload
- filterAuthorMode
- loggerPopupType
- manualUpdateAssetFetchPeriod
- modifyWebextFlavor
- popupFontSize
- popupPanelHeightMode
- popupPanelOrientation
Advanced settings·续1
-
no-cache:- Undesirable side effect: One will need to explicitly cache-bypass reload a page each time uBO has to inject CSP directives as a result of filters/ruleset. Note that such cache-bypass reload does not affect only the document itself, but also all secondary resources inside that document.
-
unset:- Available after 1.22.0, turns off cache header modifications.
Related Firefox issues: - test-only patch: <https://bugzilla.mozilla.org/show_bug.cgi?id=1376932> - which fails permanently and was disabled: <https://bugzilla.mozilla.org/show_bug.cgi?id=1573511>. - https://bugzilla.mozilla.org/show_bug.cgi?id=1648635
cacheStorageAPI
After storage redesign in 1.56-1.57, for development purposes only.
<details> <summary>Changelog</summary>
Default: unset.
After 1.18.6 works in Firefox.
If set to browser.storage.local, uBO will use WebExtensions storage as a backend to cache storage.
Additionally, should indexedDB not be available for whatever reason,
uBO will automatically fallback to browser.storage.local.
uBO 1.18.2 and above, Chromium only.
If set to indexedDB, uBO will use IndexedDB as a backend to the cache storage, potentially increasing performance and reducing memory usage. See #328 for details.
Bad side effects - filter lists will be out of date in Chrome incognito mode - #399.
If unset, uBO will use whatever backend storage is optimal for the current platform.
</details>
cacheStorageCompression
Default: true.
uBO 1.16.21 and above.
If set to true, uBO will lz4-compress data before storing it in its cache storage. The cache storage is used for storing downloaded filter lists, compiled filter lists, selfies. This setting work when IndexedDB is used as the cache storage backend (by default with Firefox/Firefox for Android). See #141 for related discussion.
cloudStorageCompression
Default: true, was false before 1.30.9rc2
Introduced in 1.29.3b7.
Enable data compression before sending the data to cloud storage.
cnameIgnore1stParty
Default: true.
Introduced in 1.25.0.
Firefox only.
Whether uBO should ignore to re-run a network request through the filtering engine when the CNAME hostname is 1st-party to the alias hostname.
cnameIgnoreExceptions
Default: true.
Introduced in 1.25.0.
Firefox only.
Whether to bypass the uncloaking of network requests which were excepted by filters/rules.
This is necessary so as to avoid undue breakage by having exception filters being rendered useless as a result of CNAME-uncloaking.
For example, google-analytics.com uncloaks to www-google-analytics.l.google.com and both hostnames appear in Peter Lowe's list, which means exception filters for google-analytics.com (to fix site breakage) would be rendered useless as the uncloaking would cause the network request to be ultimately blocked.
cnameIgnoreList
Default: unset.
Introduced in 1.25.0.
Firefox only.
Possible values:
- Space-separated list of hostnames.
*- all hostnames.
This tells uBO to NOT re-run the network request through uBO's filtering engine with the CNAME hostname.
This is useful to exclude commonly used actual hostnames from being re-run through uBO's filtering engine, so as to avoid pointless overhead.
cnameIgnoreRootDocument
Default: true.
Introduced in 1.25.0.
Firefox only.
Tells uBO to skip CNAME-lookup for root document.
cnameMaxTTL
Default: 120 minutes.
Introduced in 1.25.0.
Firefox only.
This tells uBO to clear its CNAME cache after the specified time.
For efficiency purposes, uBO will cache alias=>CNAME associations for reuse so as to reduce calls to browser.dns.resolve. All the associations will be cleared after the specified time to ensure the map does not grow too large and to ensure uBO uses up-to-date CNAME information.
cnameReplayFullURL
Default: false.
Introduced in 1.25.0.
Firefox only.
Tells uBO whether after CNAME-uncloaking replay through the filtering engine the whole URL or just the origin part of it.
Replaying only the origin part is meant to lower undue breakage and improve performance by avoiding repeating the pattern-matching of the whole URL -- which pattern-matching was most likely already accomplished with the original request.
cnameUncloakProxied
Default: false.
Introduced in 1.26.0.
Firefox only.
By default (set to false) uBO will no longer cname-uncloak when it detects that network requests are being proxied.
This default behavior can be overridden by setting this option to true.
This new advanced setting may disappear once the following Firefox issue is fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1618271
consoleLogLevel
Default: unset.
uBO 1.18.5b1 and above
For development purposes only.
If set to info, prints debug messages to the browser console.
debugScriptlets
debugScriptletInjector
Default: false.
If set to true, debugger; statement will be inserted just before scriptlet or scriptlet injector code.
disableWebAssembly
Default: false.
uBO 1.17.3rc4 and above.
For development purposes only.
If set to true, turns off WebAssembly optimizations in uBO code.
dnsCacheTTL
Default: 600.
uBO 1.60.0 and above.
Value in seconds for the time after which a cached DNS entry is discarded so as to force a new DNS resolution cycle for a given hostname.
dnsResolveEnabled
Default: true.
uBO 1.60.0 and above.
When set to true, uBO will make use of the dns API to resolve the hostname of network requests to obtain their associated IP address(es) and CNAME, required to fulfill ipaddress= filter option and to uncloak CNAME.
If set to false, uBO will not make use of the dns API.
extensionUpdateForceReload
Default: false.
uBO 1.23.0 and above.
If set to true, restores update behavior from before 1.22.3b ("Prevent uBO from being reloaded mid-session "), the extension will unconditionally reload when an update is available; otherwise, the extension will reload only when being explicitly disabled then enabled, or when the browser is restarted.
filterAuthorMode
Default: false.
New in 1.47.5b7 - when set to true opening the context menu now shows a "View source code..." option.
After 1.28.0, the ability to point-and-click to create allow rules from the popup panel is now disabled by default.
Enabling this advanced setting restores its old functionality. Alternatively, you can tap twice on <kbd>Ctrl</kbd> to access allow rules only temporarily.
<details><summary>1.23.0-1.45.3rc1.</summary>
New in 1.23.0 "Exceptor widget".Moved outside advanced settings in 1.45.3rc2/1.46, see The logger/Temporary exception filters.
</details>
loggerPopupType
Default: popup.
uBO 1.23.0 and above.
Control the type of window to be used when the logger is launched as a separate window. Introduced to solve issues with missing/disabled titlebar buttons, resizing, incorrect drawing (#663).
Possible values:
popup- browser window without toolbars (default)normal- normal browser window with all toolbars and buttons- any other value defined in Chromium or Firefox documentation.
manualUpdateAssetFetchPeriod
Default: 500 milliseconds.
When clicking the "Update now" button in the "3rd-party filters" pane in the dashboard, this is the number of milliseconds to wait before fetching the next asset which needs to be updated. The delay helps spread the load incurred as a result of loading/processing new filter lists, and its purpose is also to be considerate to remote servers by not subjecting them to rapid-fire requests.
modifyWebextFlavor
Default: unset.
Introduced in 1.38.7b3.
Value: A list of space-separated tokens to be added/removed from the computed default webext flavor.
The primary purpose is to give filter list authors the ability to test mobile flavor on desktop computers. Though mobile versions of web pages can be emulated using browser dev tools, it's not possible to do so for uBO itself.
Using +mobile as a value for this setting will force uBO to act as if it's being executed on a mobile device.
Important: this setting is best used in a dedicated browser profile, as this affects how filter lists are compiled. So best to set it in a new browser profile, then force all filter lists to be recompiled, and use the profile in the future when there is a need to test the specific webext flavor.
popupFontSize
Default: unset.
A valid CSS font size value (14px) to use for the popup panel. Use if you are unhappy with the default size.
popupPanelHeightMode
Default: 0.
uBO 1.28.0 and above.
Set to 1 to force the height of the firewall pane to be no more than the height of the basic pane.
Solves clipping of the Overview Panel - #785 (comment).
popupPanelOrientation
Default: unset.
uBO 1.56.1b15 and above.
Supported values:
- unset: uBO decides whichever mode is best
- landscape: force popup panel to landscape mode
- portrait: force popup panel to portrait mode
