diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index c30d193..8163038 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uMatrix", "short_name": "uMatrix", - "version": "1.0.1.2", + "version": "1.0.1.3", "description": "__MSG_extShortDesc__", "icons": { "16": "img/icon_16.png", diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 162410b..5fa4d8a 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -278,7 +278,8 @@ vAPI.tabs.open = function(details) { } chrome.tabs.query({ url: targetURL }, function(tabs) { - var tab = tabs[0]; + if ( chrome.runtime.lastError ) { /* noop */ } + var tab = Array.isArray(tabs) && tabs[0]; if ( tab ) { chrome.tabs.update(tab.id, { active: true }, function(tab) { chrome.windows.update(tab.windowId, { focused: true }); diff --git a/platform/webext/install.rdf b/platform/webext/install.rdf index 5c9244b..8487254 100644 --- a/platform/webext/install.rdf +++ b/platform/webext/install.rdf @@ -1,7 +1,7 @@ - uMatrix-webext@raymondhill.net + uMatrix@raymondhill.net {version} {name} {description}