mirror of https://github.com/gorhill/uBlock.git
Focus window when activating element-picker
This commit is contained in:
parent
ab99683454
commit
f1bcc0a24b
|
@ -986,6 +986,10 @@ var startPicker = function(details) {
|
||||||
|
|
||||||
localMessager.send({ what: 'elementPickerArguments' }, startPicker);
|
localMessager.send({ what: 'elementPickerArguments' }, startPicker);
|
||||||
|
|
||||||
|
// So the shortcuts will be usable in Firefox
|
||||||
|
// (also triggers the hiding of the popover in Safari)
|
||||||
|
window.focus();
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
// https://www.youtube.com/watch?v=sociXdKnyr8
|
// https://www.youtube.com/watch?v=sociXdKnyr8
|
||||||
|
|
Loading…
Reference in New Issue