mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-10 19:46:34 +03:00
parent
7f9fb4f972
commit
6858c56534
|
@ -1,7 +0,0 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
chrome.commands.onCommand.addListener((command) => {
|
|
||||||
if (command === 'toggle-pac-script') {
|
|
||||||
console.log("Toggling PAC-script!");
|
|
||||||
}
|
|
||||||
});
|
|
|
@ -27,14 +27,6 @@
|
||||||
"strict_min_version": "91.1.0"
|
"strict_min_version": "91.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commands": {
|
|
||||||
"toggle-pac-script": {
|
|
||||||
"suggested_key": {
|
|
||||||
"default": "Alt+P"
|
|
||||||
},
|
|
||||||
"description": "Turn on/off current PAC-script"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"background": {
|
"background": {
|
||||||
${persistent}
|
${persistent}
|
||||||
|
@ -48,10 +40,9 @@
|
||||||
${scripts_2x}
|
${scripts_2x}
|
||||||
, "35-pac-kitchen-api.js"
|
, "35-pac-kitchen-api.js"
|
||||||
, "37-sync-pac-script-with-pac-provider-api.js"
|
, "37-sync-pac-script-with-pac-provider-api.js"
|
||||||
|
${scripts_8x}
|
||||||
, "70-menu-items.js"
|
, "70-menu-items.js"
|
||||||
, "75-context-menus.js"
|
, "75-context-menus.js"
|
||||||
, "76-hotkeys.js",
|
|
||||||
${scripts_8x}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ exports.contexts.full = Object.assign({}, commonContext, {
|
||||||
persistent: '',
|
persistent: '',
|
||||||
scripts_0x: '',
|
scripts_0x: '',
|
||||||
scripts_2x: ', "20-ip-to-host-api.js"',
|
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, {
|
exports.contexts.mini = Object.assign({}, commonContext, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user