From 79d5af20fc63aa95e75a34a386530bd344326b5f Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 8 Jul 2018 08:25:08 -0400 Subject: [PATCH] fix potential spurious error from ignoring chrome.runtime.lastError --- src/js/scriptlet-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/scriptlet-filtering.js b/src/js/scriptlet-filtering.js index 486cd58d9..52fc700f3 100644 --- a/src/js/scriptlet-filtering.js +++ b/src/js/scriptlet-filtering.js @@ -396,7 +396,7 @@ if ( µb.hiddenSettings.debugScriptlets ) { code = 'debugger;\n' + code; } - chrome.tabs.executeScript( + vAPI.tabs.injectScript( details.tabId, { code: code,