feat: add google-meet-transcripts-extension and caption-extension

This commit is contained in:
Arash_M
2026-06-09 15:15:37 +03:30
parent 4a3db4d59f
commit 12f950d786
44 changed files with 1945 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"use strict"
import logger from './logger.js';
logger.debug("Hello, world from background!")
function setBadgeText(enabled) {
const text = enabled ? "ON" : "OFF"
void chrome.action.setBadgeText({text: text})
}
function startUp() {
chrome.storage.sync.get("slider", (data) => {
setBadgeText(!!data.slider)
})
}
// Ensure the background script always runs.
chrome.runtime.onStartup.addListener(startUp)
chrome.runtime.onInstalled.addListener(startUp)