Quellcode durchsuchen

fix: the new tab block throw 'tab closed' error

Ahmad Kholid vor 3 Jahren
Ursprung
Commit
a765091575
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 2
      src/background/workflow-engine/blocks-handler/handler-new-tab.js

+ 0 - 2
src/background/workflow-engine/blocks-handler/handler-new-tab.js

@@ -1,6 +1,5 @@
 import browser from 'webextension-polyfill';
 import browser from 'webextension-polyfill';
 import { getBlockConnection } from '../helper';
 import { getBlockConnection } from '../helper';
-import executeContentScript from '../execute-content-script';
 
 
 async function newTab(block) {
 async function newTab(block) {
   if (this.windowId) {
   if (this.windowId) {
@@ -48,7 +47,6 @@ async function newTab(block) {
     }
     }
 
 
     this.activeTab.frameId = 0;
     this.activeTab.frameId = 0;
-    await executeContentScript(this.activeTab.id);
 
 
     return {
     return {
       data: url,
       data: url,