Don't apply to arrow keys or page-up/down
This commit is contained in:
parent
beb07cacfa
commit
34335fc543
@ -57,11 +57,17 @@ let appCode = function (){
|
||||
setTimeout(function(){
|
||||
|
||||
document.addEventListener('keyup', function(e){
|
||||
if (e.key.startsWith('Arrow') || e.key.startsWith('Page')){
|
||||
return true;
|
||||
}
|
||||
pausecomp(dwellTime);
|
||||
return true;
|
||||
}, )
|
||||
|
||||
document.addEventListener('keydown', function(e){
|
||||
if (e.key.startsWith('Arrow') || e.key.startsWith('Page')){
|
||||
return true;
|
||||
}
|
||||
pausecomp(gapTime);
|
||||
return true;
|
||||
})
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
"manifest_version": 2,
|
||||
"name": "Private Keyboard",
|
||||
"version": "1.2",
|
||||
"version": "1.3",
|
||||
|
||||
|
||||
"description": "Protect against keyboard biometrics",
|
||||
|
Loading…
Reference in New Issue
Block a user