aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
Diffstat (limited to 'extension')
-rw-r--r--extension/background.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/extension/background.js b/extension/background.js
index c593866..0924e56 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -150,8 +150,7 @@ function fromScript(code) {
async open({path}) { return { fh: 0 }; },
async read({path, fh, size, offset}) {
const tabId = parseInt(pathComponent(path, -2));
- console.log(await browser.tabs.executeScript(tabId, {code})[0]);
- return { buf: utf8(await browser.tabs.executeScript(tabId, {code})[0], offset, size) }
+ return { buf: utf8((await browser.tabs.executeScript(tabId, {code}))[0], offset, size) }
}
};
}