mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
fix #1716
This commit is contained in:
parent
1cd24380ce
commit
fa1dafafbe
1 changed files with 2 additions and 0 deletions
|
|
@ -245,9 +245,11 @@ vAPI.browserSettings = {
|
||||||
if ( settingVal ) {
|
if ( settingVal ) {
|
||||||
this.clear('network', 'prefetch-next');
|
this.clear('network', 'prefetch-next');
|
||||||
this.clear('network.http', 'speculative-parallel-limit');
|
this.clear('network.http', 'speculative-parallel-limit');
|
||||||
|
this.clear('network.dns', 'disablePrefetch');
|
||||||
} else {
|
} else {
|
||||||
this.setValue('network', 'prefetch-next', false);
|
this.setValue('network', 'prefetch-next', false);
|
||||||
this.setValue('network.http', 'speculative-parallel-limit', 0);
|
this.setValue('network.http', 'speculative-parallel-limit', 0);
|
||||||
|
this.setValue('network.dns', 'disablePrefetch', true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue