Don't apply to arrow keys or page-up/down

This commit is contained in:
Kevin F 2021-08-09 02:46:55 +00:00
parent beb07cacfa
commit 34335fc543
2 changed files with 7 additions and 1 deletions

View File

@ -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;
})

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Private Keyboard",
"version": "1.2",
"version": "1.3",
"description": "Protect against keyboard biometrics",