From a364a869f5eed82f291b37ff2874be13faa8c87a Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 6 Jun 2015 14:09:59 -0400 Subject: [PATCH] this takes care of https://github.com/gorhill/uBlock/issues/292#issuecomment-109621979 --- platform/firefox/vapi-background.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index f062a50fd..5e8924e72 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -122,6 +122,10 @@ vAPI.browserSettings = { return; } var value = this.originalValues[key]; + // https://github.com/gorhill/uBlock/issues/292#issuecomment-109621979 + // Forget the value immediately, it may change outside of + // uBlock control. + delete this.originalValues[key]; // Original value was a default one if ( value === undefined ) { try {