i have found this extension Behind The Overlay
which removes the overlay on
the webpage that we visit.
for doing so we have to click on the extension icon.
i want to do this programmatically. i.e on page load the extension should run automatically
https://github.com/NicolaeNMV/BehindTheOverlay
i want to add delay before this line
chrome.tabs.executeScript(null, {file: "overlay_remover.js"});
how to do this?
chrome.tabs.onUpdated.addListener( function (tabId, changeInfo, tab) {
if (changeInfo.status === 'complete' && tab.active) {
// add some delay here
chrome.tabs.executeScript(null, {file: "overlay_remover.js"});
}
})