mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
fix #1716
This commit is contained in:
parent
1cd24380ce
commit
fa1dafafbe
@ -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 New Issue
Block a user