Ahmad Kholid 3 tahun lalu
induk
melakukan
5d5d714729
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      src/popup/pages/Home.vue

+ 4 - 1
src/popup/pages/Home.vue

@@ -257,7 +257,10 @@ async function recordWorkflow(options = {}) {
 
     const tabs = await browser.tabs.query({});
     for (const tab of tabs) {
-      if (tab.url.startsWith('http')) {
+      if (
+        tab.url.startsWith('http') &&
+        !tab.url.includes('chrome.google.com')
+      ) {
         await browser.tabs.executeScript(tab.id, {
           allFrames: true,
           file: 'recordWorkflow.bundle.js',