Chrome with NativeCrxBindings: check lastError in injectCS
This commit is contained in:
parent
4a1c1636fe
commit
677bf7b9bf
|
@ -239,6 +239,7 @@ window.addEventListener('storageReady', function _() {
|
|||
}
|
||||
|
||||
const injectCS = (cs, tabId) => {
|
||||
if (chrome.runtime.lastError) return;
|
||||
chrome.tabs.executeScript(tabId, {
|
||||
file: cs.js[0],
|
||||
runAt: cs.run_at,
|
||||
|
|
Loading…
Reference in New Issue
Block a user