From 5f492e937ff314767e264faf0f86221ed08c62fd Mon Sep 17 00:00:00 2001 From: hackademix Date: Oct 06 2021 15:54:26 +0000 Subject: Ensure the environment is never touched if level is 0. --- diff --git a/common/document_start.js b/common/document_start.js index 3f8dddf..07ccff0 100644 --- a/common/document_start.js +++ b/common/document_start.js @@ -26,6 +26,7 @@ var wrappersPort; function configureInjection({code, wrappers, domainHash, sessionHash}) { configureInjection = () => false; // one shot + if (!code) return true; // nothing to wrap, bail out! if(browser.extension.inIncognitoContext){ // Redefine the domainHash for incognito context: // Compute the SHA256 hash of the original hash so that the incognito hash is: