diff --git a/core/state-manager.js b/core/state-manager.js index 7151a724..be6dd6c2 100644 --- a/core/state-manager.js +++ b/core/state-manager.js @@ -33,7 +33,7 @@ var stateManager = {}; stateManager.registerInjection = function (tabIdentifier, injection, url) { let injectionIdentifier, registeredTab, injectionCount, missingCount, initiatorDomain, listedToManipulateDOM; - injectionIdentifier = injection.source + injection.path + injection.version; + injectionIdentifier = injection.source + injection.path; registeredTab = stateManager.tabs[tabIdentifier]; registeredTab.injections[injectionIdentifier] = injection; @@ -357,7 +357,7 @@ chrome.webRequest.onErrorOccurred.addListener(function (requestDetails) { chrome.webRequest.onBeforeRedirect.addListener(function (requestDetails) { let knownRequest = stateManager.requests[requestDetails.requestId]; - if (knownRequest) { + if (knownRequest['targetDetails']['result'] !== false) { stateManager.registerInjection( knownRequest.tabIdentifier, knownRequest.targetDetails, diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 0e7a30aa..cdf4b6a1 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -29,6 +29,10 @@
Fixed
+