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(){
|
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;
|
||||||
})
|
})
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user