diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 92519683..53bdaef1 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -298,7 +298,7 @@ const Dactyl = Module("dactyl", { if (!context) context = userContext; context[EVAL_STRING] = str; - return Cu.evalInSandbox("eval('with (window) {'+" + EVAL_STRING + "+'}')", context, "1.8", fileName, lineNumber); + return Cu.evalInSandbox("with (window) { eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber); }, /**