Sfoglia il codice sorgente

fix: on visit web trigger not working

Ahmad Kholid 2 anni fa
parent
commit
3975190216
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/background/index.js

+ 1 - 1
src/background/index.js

@@ -270,7 +270,7 @@ async function checkRecordingWorkflow(tabId, tabUrl) {
     file: 'recordWorkflow.bundle.js',
   });
 }
-browser.webNavigation.onHistoryStateUpdated.addListener(
+browser.webNavigation.onCompleted.addListener(
   async ({ tabId, url, frameId }) => {
     if (frameId > 0) return;