Revert "Add Alt+P hotkey stub"

This reverts commit 3d72acc6dd.
This commit is contained in:
ilyaigpetrov 2023-04-11 19:56:44 +05:00
parent 7f9fb4f972
commit 6858c56534
3 changed files with 2 additions and 18 deletions

View File

@ -1,7 +0,0 @@
'use strict';
chrome.commands.onCommand.addListener((command) => {
if (command === 'toggle-pac-script') {
console.log("Toggling PAC-script!");
}
});

View File

@ -27,14 +27,6 @@
"strict_min_version": "91.1.0"
}
},
"commands": {
"toggle-pac-script": {
"suggested_key": {
"default": "Alt+P"
},
"description": "Turn on/off current PAC-script"
}
},
"background": {
${persistent}
@ -48,10 +40,9 @@
${scripts_2x}
, "35-pac-kitchen-api.js"
, "37-sync-pac-script-with-pac-provider-api.js"
${scripts_8x}
, "70-menu-items.js"
, "75-context-menus.js"
, "76-hotkeys.js",
${scripts_8x}
]
},

View File

@ -28,7 +28,7 @@ exports.contexts.full = Object.assign({}, commonContext, {
persistent: '',
scripts_0x: '',
scripts_2x: ', "20-ip-to-host-api.js"',
scripts_8x: '"80-error-menu.js", "83-last-errors.js", "85-block-informer.js"',
scripts_8x: ', "80-error-menu.js", "83-last-errors.js", "85-block-informer.js"',
});
exports.contexts.mini = Object.assign({}, commonContext, {