1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-01 18:10:17 +12:00

publish webext-hybrid to AOM dev channel

This commit is contained in:
gorhill 2017-08-02 08:39:06 -04:00
parent ea16b28e65
commit df548f1db9
3 changed files with 4 additions and 3 deletions

View file

@ -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",

View file

@ -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 });

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>uMatrix-webext@raymondhill.net</em:id>
<em:id>uMatrix@raymondhill.net</em:id>
<em:version>{version}</em:version>
<em:name>{name}</em:name>
<em:description>{description}</em:description>