mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Avoid search auto-focus for modifiers
This commit is contained in:
parent
af346441f2
commit
9bc82744fd
@ -57,7 +57,8 @@
|
||||
});
|
||||
|
||||
addEventListener('keydown', function (event) {
|
||||
if (event.key.toLowerCase().match(/^[\/a-z]$/)) {
|
||||
if (event.key.toLowerCase().match(/^[\/a-z]$/) &&
|
||||
!(event.ctrlKey || event.altKey || event.metaKey)) {
|
||||
searchBox.focus();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user