Skip to content

Commit 84bd5c1

Browse files
committed
Offer a way to disable tab-reloading at launch on Chromium-based browsers
Related discussion: - a0a9497#commitcomment-62560291 The behavior could be seen as annoying to some users, and before this commit there is no way to opt-out of the behavior, introduced in 1.40.0. This commit is only intended for Chromium version of uBO, and setting `suspendTabsUntilReady` to `no` will prevent active tab reload at launch once filter lists are all loaded. In next release, there will be a setting in the "Filter lists" pane to easily control the behavior and `suspendTabsUntilReady` will be removed.
1 parent 50ed6b4 commit 84bd5c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/js/traffic.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,8 +1150,8 @@ const webRequest = {
11501150
// Mitigation: force-reload active tabs for environments not
11511151
// supporting suspended network request listeners.
11521152
if (
1153-
vAPI.net.canSuspend() !== true ||
1154-
µb.hiddenSettings.suspendTabsUntilReady === 'no'
1153+
vAPI.net.canSuspend() !== true &&
1154+
µb.hiddenSettings.suspendTabsUntilReady === 'unset'
11551155
) {
11561156
const tabs = await vAPI.tabs.query({
11571157
active: true,

0 commit comments

Comments
 (0)