Category : google-chrome-extension

I’m working on a Google Chrome extensions that automatically mutes the microphone when somebody else is talking, to prevent speaking over each other. I’ve started by looking at the Chrome tabs API and I can successfully detect a sound played on a tab through the onUpdate event and the audible property: chrome.tabs.onUpdated.addListener(function (tabId, changeInfo, tab) ..

Read more

I have a content script from a chrome extension inserting an iframe into a website like so. const mainiframe = document.createElement(‘iframe’) mainiframe.setAttribute("id", "ext_frame"); mainiframe.style.border = "none" mainiframe.style.display = "block" mainiframe.style.position = "fixed" mainiframe.style.height = "100%"; mainiframe.style.width = "100%"; mainiframe.style.top = "0"; mainiframe.style.left = "0"; mainiframe.style.bottom = "0" mainiframe.src = chrome.extension.getURL("index.html") document.body.appendChild(mainiframe) And index.html just has ..

Read more