From cdabab7da54eb77f3d1939a9aeb7b7459d2ef1cb Mon Sep 17 00:00:00 2001 From: YFdyh000 Date: Mon, 18 Jul 2016 18:06:42 +0800 Subject: [PATCH] restore network.dns.disablePrefetch when uncheck option (#1822) --- platform/firefox/vapi-background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 865e93e60..108ad61e3 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -240,6 +240,7 @@ vAPI.browserSettings = { // https://bugzilla.mozilla.org/show_bug.cgi?id=814169 // Sigh. this.rememberOriginalValue('network.http', 'speculative-parallel-limit'); + this.rememberOriginalValue('network.dns', 'disablePrefetch'); // https://github.com/gorhill/uBlock/issues/292 // "true" means "do not disable", i.e. leave entry alone if ( settingVal ) {