1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Add ability to open the dashboard with a keyboard shortcut

Related feedback:
- https://github.com/gorhill/uBlock/commit/9a6feb34d546#commitcomment-38852663
This commit is contained in:
Raymond Hill 2020-04-30 10:31:23 -04:00
parent 1a0cded43f
commit eeae4b2cab
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
4 changed files with 18 additions and 1 deletions

View File

@ -21,6 +21,9 @@
"launch-logger": {
"description": "__MSG_popupTipLog__"
},
"open-dashboard": {
"description": "__MSG_popupTipDashboard__"
},
"relax-blocking-mode": {
"description": "__MSG_relaxBlockingMode__"
}

View File

@ -30,6 +30,9 @@
"launch-logger": {
"description": "__MSG_popupTipLog__"
},
"open-dashboard": {
"description": "__MSG_popupTipDashboard__"
},
"relax-blocking-mode": {
"description": "__MSG_relaxBlockingMode__"
}

View File

@ -21,6 +21,9 @@
"launch-logger": {
"description": "__MSG_popupTipLog__"
},
"open-dashboard": {
"description": "__MSG_popupTipDashboard__"
},
"relax-blocking-mode": {
"description": "__MSG_relaxBlockingMode__"
}

View File

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