From 12e8c7aad8392039b641c0eb414cd22e6b80ecb7 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 8 Sep 2024 01:20:25 -0400 Subject: Add way to copy debug logs from popup --- src/content.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/content.ts') diff --git a/src/content.ts b/src/content.ts index 398102aa..04c2dcd3 100644 --- a/src/content.ts +++ b/src/content.ts @@ -346,6 +346,12 @@ function messageListener(request: Message, sender: unknown, sendResponse: (respo metaKey: request.metaKey })); break; + case "getLogs": + sendResponse({ + debug: window["SBLogs"].debug, + warn: window["SBLogs"].warn + }); + break; } sendResponse({}); -- cgit v1.2.3