From e8ebec37cb43dbe9bab85da99b778c93df4329b9 Mon Sep 17 00:00:00 2001 From: Cris Stringfellow <22254235+crislin2046@users.noreply.github.com> Date: Sat, 14 Jan 2023 14:56:19 +0800 Subject: [PATCH] OK --- public/injection.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/injection.js b/public/injection.js index a65b433..b614998 100644 --- a/public/injection.js +++ b/public/injection.js @@ -10,9 +10,11 @@ export function getInjection({sessionId}) { // this script more portable if it were introduced globally as well as robust // against API or behaviour changes of the browser or its remote debugging protocol // in future + console.log({DEBUG, x: JSON.stringify(DEBUG,null,2)}); return ` { - const DEBUG = ${DEBUG}; + const X = 1; + const DEBUG = ${JSON.stringify(DEBUG, null, 2)}; const MIN_CHECK_TEXT = 3000; // min time between checking documentElement.innerText const MIN_NOTIFY = 5000; // min time between telling controller text maybe changed const MAX_NOTIFICATIONS = 13; // max times we will tell controller text maybe changed