remove irrelevant reload

This commit is contained in:
makaveli10
2023-10-18 16:52:07 +02:00
parent 727033295a
commit 1938dfb490
-10
View File
@@ -207,13 +207,3 @@ chrome.runtime.onMessage.addListener(async (message) => {
});
/**
* Listens for if the tab is reloaded.
* @param {Object} message - The message received from the runtime.
*/
chrome.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
if (changeInfo.status === 'complete') {
await executeScriptInTab(tabId, "content.js");
await delayExecution(500);
}
});