From f594129d736890aaf59692810bb9ce3a17fe9cb0 Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 25 Mar 2021 00:31:35 +0100 Subject: [PATCH] Avoid stack trace generation for debugging purposes on release builds. --- src/content/onScriptDisabled.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/onScriptDisabled.js b/src/content/onScriptDisabled.js index d5bfa0e..282dce6 100644 --- a/src/content/onScriptDisabled.js +++ b/src/content/onScriptDisabled.js @@ -20,7 +20,7 @@ function onScriptDisabled() { } } }; - debug("onScriptDisabled", document.readyState, new Error().stack); + debug("onScriptDisabled", document.readyState, new Error().stack); // DEV ONLY if (document.readyState === "loading") { window.addEventListener("DOMContentLoaded", emulateNoscriptElement, true); return;