Skip to content

Commit 68b1f5f

Browse files
author
Richard Neomy
committed
possible fix for #307
1 parent a61524f commit 68b1f5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

v3/v2.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ chrome.scripting = chrome.scripting || {
5050
props.allFrames = true;
5151
props.matchAboutBlank = true;
5252
}
53+
props.runAt = 'document_start';
5354

5455
return new Promise((resolve, reject) => chrome.tabs.executeScript(target.tabId, props, r => {
5556
const lastError = chrome.runtime.lastError;

0 commit comments

Comments
 (0)