Chrome with NativeCrxBindings: ignore lastError in injectCS

This commit is contained in:
tophf 2018-04-25 10:37:07 +03:00
parent 677bf7b9bf
commit 0a082f30d2

View File

@ -239,7 +239,7 @@ window.addEventListener('storageReady', function _() {
}
const injectCS = (cs, tabId) => {
if (chrome.runtime.lastError) return;
ignoreChromeError();
chrome.tabs.executeScript(tabId, {
file: cs.js[0],
runAt: cs.run_at,