+5
-9
lines changedFilter options
+5
-9
lines changed Original file line number Diff line number Diff line change
@@ -268,15 +268,11 @@ try {
268
268
await µb.loadHiddenSettings();
269
269
log.info(`Hidden settings ready ${Date.now()-vAPI.T0} ms after launch`);
270
270
271
-
// By default network requests are always suspended, so we must
272
-
// unsuspend immediately if commanded by platform + advanced settings.
273
-
if (
274
-
vAPI.net.canSuspend() &&
275
-
µb.hiddenSettings.suspendTabsUntilReady === 'no' ||
276
-
vAPI.net.canSuspend() !== true &&
277
-
µb.hiddenSettings.suspendTabsUntilReady !== 'yes'
278
-
) {
271
+
// Maybe override current network listener suspend state
272
+
if ( µb.hiddenSettings.suspendTabsUntilReady === 'no' ) {
279
273
vAPI.net.unsuspend(true);
274
+
} else if ( µb.hiddenSettings.suspendTabsUntilReady === 'yes' ) {
275
+
vAPI.net.suspend();
280
276
}
281
277
282
278
if ( µb.hiddenSettings.disableWebAssembly !== true ) {
Original file line number Diff line number Diff line change
@@ -1035,7 +1035,7 @@ const strictBlockBypasser = {
1035
1035
return {
1036
1036
start: (( ) => {
1037
1037
vAPI.net = new vAPI.Net();
1038
-
vAPI.net.suspend(true);
1038
+
vAPI.net.suspend();
1039
1039
1040
1040
return function() {
1041
1041
vAPI.net.setSuspendableListener(onBeforeRequest);
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4