diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 0b624c1d3..0f620cf9e 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -21,6 +21,9 @@ "launch-logger": { "description": "__MSG_popupTipLog__" }, + "open-dashboard": { + "description": "__MSG_popupTipDashboard__" + }, "relax-blocking-mode": { "description": "__MSG_relaxBlockingMode__" } diff --git a/platform/firefox/manifest.json b/platform/firefox/manifest.json index 0ebc4a5ef..517c67c3a 100644 --- a/platform/firefox/manifest.json +++ b/platform/firefox/manifest.json @@ -30,6 +30,9 @@ "launch-logger": { "description": "__MSG_popupTipLog__" }, + "open-dashboard": { + "description": "__MSG_popupTipDashboard__" + }, "relax-blocking-mode": { "description": "__MSG_relaxBlockingMode__" } diff --git a/platform/opera/manifest.json b/platform/opera/manifest.json index 649acd810..e512bbe11 100644 --- a/platform/opera/manifest.json +++ b/platform/opera/manifest.json @@ -21,6 +21,9 @@ "launch-logger": { "description": "__MSG_popupTipLog__" }, + "open-dashboard": { + "description": "__MSG_popupTipDashboard__" + }, "relax-blocking-mode": { "description": "__MSG_relaxBlockingMode__" } diff --git a/src/js/commands.js b/src/js/commands.js index 8994e84c8..f99c0bf8c 100644 --- a/src/js/commands.js +++ b/src/js/commands.js @@ -179,7 +179,15 @@ vAPI.commands.onCommand.addListener(async command => { µb.openNewTab({ url: `logger-ui.html${hash}`, select: true, - index: -1 + index: -1, + }); + break; + } + case 'open-dashboard': { + µb.openNewTab({ + url: 'dashboard.html', + select: true, + index: -1, }); break; }