mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Offer a way to disable tab-reloading at launch on Chromium-based browsers
Related discussion:
- a0a9497b4a (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.
This commit is contained in:
parent
50ed6b4b21
commit
84bd5c1c0c
1 changed files with 2 additions and 2 deletions
|
|
@ -1150,8 +1150,8 @@ const webRequest = {
|
|||
// Mitigation: force-reload active tabs for environments not
|
||||
// supporting suspended network request listeners.
|
||||
if (
|
||||
vAPI.net.canSuspend() !== true ||
|
||||
µb.hiddenSettings.suspendTabsUntilReady === 'no'
|
||||
vAPI.net.canSuspend() !== true &&
|
||||
µb.hiddenSettings.suspendTabsUntilReady === 'unset'
|
||||
) {
|
||||
const tabs = await vAPI.tabs.query({
|
||||
active: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue