aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background/script-manager.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background/script-manager.js')
-rw-r--r--ext/js/background/script-manager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/background/script-manager.js b/ext/js/background/script-manager.js
index 17b95242..3deb74fe 100644
--- a/ext/js/background/script-manager.js
+++ b/ext/js/background/script-manager.js
@@ -290,6 +290,7 @@ class ScriptManager {
_injectScriptMV3(file, tabId, frameId, allFrames) {
return new Promise((resolve, reject) => {
const details = {
+ injectImmediately: true,
files: [file],
target: {tabId, allFrames}
};