internals.getRoot().browserAction.disable();
const activeTabs = await internals.getActiveTabs();
- const execution = await internals.getRoot().tabs.executeScript(activeTabs[0].id, {
- file: '/content_script.js'
- });
- if (!execution[0]) {
- internals.onDisconnect();
- }
- },
+ const execution = await internals.getRoot().tabs.executeScript(activeTabs[0].id, {
+ file: '/build/content_script.js'
+ });
+
+ if (!execution || !execution[0]) {
+ internals.onDisconnect();
+ }
+ }
+ ,
hangUp() {