diff options
author | Ajay <[email protected]> | 2024-09-08 01:20:25 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2024-09-08 01:20:25 -0400 |
commit | 12e8c7aad8392039b641c0eb414cd22e6b80ecb7 (patch) | |
tree | 2079562548e820de18cc5db85f827b7e510205a8 /src/content.ts | |
parent | 2a2896786cba795aa2f5b83b8cfcd75842fc2c02 (diff) | |
download | SponsorBlock-12e8c7aad8392039b641c0eb414cd22e6b80ecb7.tar.gz SponsorBlock-12e8c7aad8392039b641c0eb414cd22e6b80ecb7.zip |
Add way to copy debug logs from popup
Diffstat (limited to 'src/content.ts')
-rw-r--r-- | src/content.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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({}); |