Advanced settings
[[Back to Wiki home|Home]]
<details><summary>Index:</summary>
- Current
- allowGenericProceduralFilters
- assetFetchTimeout
- autoCommentFilterTemplate
- autoUpdateAssetFetchPeriod
- autoUpdateDelayAfterLaunch
- autoUpdatePeriod
- benchmarkDatasetURL
- blockingProfiles
- cacheControlForFirefox1376932
- cacheStorageAPI
- cacheStorageCompression
- cloudStorageCompression
- cnameIgnore1stParty
- cnameIgnoreExceptions
- cnameIgnoreList
- cnameIgnoreRootDocument
- cnameMaxTTL
- cnameReplayFullURL
- cnameUncloakProxied
- consoleLogLevel
- debugScriptlets/debugScriptletInjector
- disableWebAssembly
- extensionUpdateForceReload
- filterAuthorMode
- loggerPopupType
- manualUpdateAssetFetchPeriod
- modifyWebextFlavor
- popupFontSize
- popupPanelHeightMode
- popupPanelOrientation
- requestJournalProcessPeriod
- requestStatsDisabled
- selfieAfter
- strictBlockingBypassDuration
- trustedListPrefixes
- uiPopupConfig
- uiStyles
- updateAssetBypassBrowserCache
- userResourcesLocation
- Removed </details>
The "Advanced settings" page contains settings that are experimental, or that are of interest to advanced users who want more control over how uBlock Origin (uBO) behaves internally. There is no warranty those settings or any combination of them will work, they may change or be removed at any time. If some customizations in there are found to interfere negatively, it's for the user to address. Some of these settings are left undocumented, on purpose -- do not open issues about these.
These advanced settings can be easily accessed only when the setting "I am an advanced user" in the Settings pane in the dashboard is checked, but will persist and work even when the setting "I am an advanced user" is not checked:

The advanced settings available are described below. Be aware that those settings may change or be removed in the future, or more may be added.
If you want to reset a specific setting to its default value, just delete the value, uBO will fill the missing value with the default one.
If you want to reset all settings to their default values, delete everything then press "Apply changes".
Important: Some advanced settings are purposefully left undocumented, they are for internal use during development, or their long-term availability has not yet been decided. Do not open an issue about these purposefully undocumented settings -- the issue will be closed without further comment.
allowGenericProceduralFilters
Default: false.
uBO 1.20.0 and above.
If set to true, generic procedural cosmetic filters will no longer be discarded as invalid.
Whenever this setting is toggled, the user is responsible for forcing a reload of all filter lists so as to allow uBO to process differently any existing generic procedural cosmetic filters.
assetFetchTimeout
Default: 30 seconds.
The number of seconds after which uBO throws an error when a remote server fails to respond to a request.
autoCommentFilterTemplate
Default: {{date}} {{origin}}.
uBO 1.17.7b2 and above.
Template used to create comments in My filters when a new filter is created by Element Picker or from The Logger.
Placeholders are identified by {{...}}. Currently supported placeholders:
{{isodate}}: will be replaced with the current date in ISO format (e.g. 2024-10-22){{date}}: will be replaced with the current date, in the current locale{{time}}: will be replaced with the current time, in the current locale{{hostname}}: will be replaced with the hostname of the URL address for which the filter(s) was created{{origin}}: will be replaced by the origin part of the address for which the filter(s) was created{{url}}: new in 1.30.3b6, will be replaced by the full URL of the page for which a filter is created in Element Picker. For filters added from The Logger, replaced by the origin part of the URL.
If no placeholder is found in autoCommentFilterTemplate, this will disable auto-commenting. So one can use - or none to disable auto-commenting.
autoUpdateAssetFetchPeriod
Default: 15 seconds.
Before 1.53.1b1 60 seconds.
Before 1.39.3b0 120 seconds.
When the auto-updater kicks in and an asset in need of an update is fetched, this is the number of seconds to wait before fetching the next asset which needs to be updated. The delay helps spread the load on CPU and memory as a result of loading/parsing/compiling the filter lists which have been updated.
autoUpdateDelayAfterLaunch
Default: 105 secs.
Before 1.39.3b0 180 seconds.
uBO 1.20.0 and above.
The number of seconds to wait after launch before an auto-update session<sup>[1]</sup> is started.
<sub>[1] "Update session" means that uBO will lookup and update assets deemed out of date if any.</sub>
autoUpdatePeriod
Default: 1 hour.
Before 1.53.1b1: 2 hours.
Before 1.48.1b7: 4 hours.
Before 1.32.5rc0: 7 hours.
The time to wait in hours between each update session. uBO will always start an update session a few minutes after launch when auto-update is enabled. Once that first update session is completed, uBO will wait autoUpdatePeriod hours before starting a new update session.
benchmarkDatasetURL
Default: unset.
uBO 1.25.2 and above.
URL from where the benchmark dataset will be fetched. This allows launching the benchmark operations from within published versions of uBO, rather than from just a locally built version.
The most recent dataset to use is found at <https://github.com/mjethani/scaling-palm-tree/>: download locally requests.json as a raw text file.
Use a local URL to refer to the downloaded dataset. In a Chromium-based browser, you can use a file:///-based URL to the local copy. On Firefox you will have to create a simple HTTP server and create a URL such as http://localhost:8000/[...] to the local copy.
To launch benchmark operations, go to Support pane in the dashboard, then click the More button. This will open a new tab with various developer tools, one of which is SFNE: Benchmark, which purpose is to benchmark the static network filtering engine using the data at the URL provided above, against the currently selected filter lists.
blockingProfiles
Default: 11111/#F00 11010/#C0F 11001/#00F 00001
Before 1.31.3b13: 11111/#F00 11011/#C0F 11001/#00F 00001 (reload action bit for 3p is set)
Before 1.22.0: 11101 11001 00001
Introduced in 1.21.0, improved after 1.22.0 to reflect blocking mode in the color of uBO icon badge.
1.31.3b13 will attempt to automatically reload CSS styles without reloading the whole page when 3p blocking is relaxed.
Preference allows configuring cascade of the "Relax blocking mode" keyboard shortcut, along with corresponding badge color.
Default value contains four codes separated by space representing four blocking modes:
| Hard mode +<br>No scripting | Medium mode +<br>No scripting | Medium mode | Default |
|---|---|---|---|
| 11111/#F00 | 11011/#C0F | 11001/#00F | 00001 |
![]() |
![]() |
![]() |
![]() |
Each code consist of bit field indicating status of the feature ( 1 for blocked/enabled, 0 for not blocked/disabled ) and optional separator / followed by CSS color value<sup>[1]<sup>.
| 3p-frame | 3p-script | 3p | no-scripting | reload action | separator | CSS color value<sup>[1]</sup> |
|---|---|---|---|---|---|---|
Pressing "Relax blocking mode" will compare current uBO status with blockingProfiles codes from left to right and apply if it's different, then reload page if "reload action" is enabled, then apply color to the uBO icon badge.
cacheControlForFirefox1376932
Default: no-cache, no-store, must-revalidate.
uBO 1.17.0 and above.
Configure how uBO should affect caching main document requests for the purpose of dealing with browser bugs (see #229).
Possible values:
no-cache, no-store, must-revalidate:- Undesirable side effect: documents themselves for which uBO has to inject CSP directives as a result of filters/ruleset won't be available offline.
