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(){ setTimeout(function(){
document.addEventListener('keyup', function(e){ document.addEventListener('keyup', function(e){
if (e.key.startsWith('Arrow') || e.key.startsWith('Page')){
return true;
}
pausecomp(dwellTime); pausecomp(dwellTime);
return true; return true;
}, ) }, )
document.addEventListener('keydown', function(e){ document.addEventListener('keydown', function(e){
if (e.key.startsWith('Arrow') || e.key.startsWith('Page')){
return true;
}
pausecomp(gapTime); pausecomp(gapTime);
return true; return true;
}) })

View File

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